Pharmaceutical companies on are on trial in Oklahoma, the first US state to take opioid makers to court.