CVS, Walmart and Walgreens must pay $650 million to alleviate the opioid crisis in two Ohio counties, a judge has ruled.