NEW YORK (AP) — Apple will pay up to $400 million to compensate consumers ensnared in a plot to raise the prices of digital books unless the company overturns a court decision attesting to its pivotal role in the collusion.