Purdue Pharma, the maker of OxyContin, has agreed to plead guilty to three federal criminal charges for its role in creating the nation's opioid crisis and will pay more than $8 billion and close down the company.