NEW YORK (AP) — SpaceX reported a smaller loss than Wall Street expected along with a surge in revenue in its first quarterly report as a public company as it sharply boosted spending, particularly on artificial intelligence. Revenue jumped to $7.8 billion, up more than 90% from the year-earlier period. SpaceX stock rose 9% in regular trading Tuesday, but gave most of the gain back after hours. Another area of concern is SpaceX spending on infrastructure and R&D, which jumped to $18 billion from less than $3 billion a year ago. Musk was asked several times about the prospects for the gigantic Starship rocket that is key to SpaceX realizing his ambitions.