The Supreme Court has allowed a court order to take effect that could loosen Apple’s grip on its lucrative iPhone app store, and potentially affect billions of dollars in revenue a year