The city of San Francisco's opioid trial begins next week against two drug companies and one pharmacy after a fourth defendant reached a $10 million settlement Wednesday.