Apotex, founded in 1974, was sold on Wednesday to a New York private equity firm for an undisclosed amount.