The move followed a long battle with regulators over the company’s tight controls of its App Store.