US court orders tech giant to let developers steer consumers to external payment methods for mobile apps.