American Airlines said it will install SpaceX’s Starlink for inflight Wi-Fi on more than 500 of its airplanes.