SpaceX Swings to a Profit, Even as A.I. Spending Soars Elon Musk’s rocket company also said its revenue had more than doubled, driven by its Starlink internet satellite service and artificial intelligence products.