Saudi Arabia’s flag carrier airline is in advanced discussions with SpaceX to install the Starlink internet service, in a move that would expand Elon Musk’s footprint in a highly competitive market for onboard wifi, according to people familiar with the talks.