SpaceX’s capex rose more than sixfold year over year in the second quarter.
It spent most of that cash on AI chips and new data centers.
In the second quarter of 2026, SpaceX's (NASDAQ: SPCX) revenue surged 92% year over year to $7.8 billion, and it narrowed its net loss from $1.01 billion to $541 million. However, its total capex surged more than sixfold year over year, from $2.83 billion to $18.37 billion. It allocated $15.8 billion of that capex to expanding its AI business. Let's see where all that money went.
Image source: Getty Images.
Missed Nvidia in 2009? This Rare Signal Is Flashing Again. In 2009, a "Double Down" signal flashed for a little-known chipmaker called Nvidia. For the first time in years, that same "Total Conviction" signal is flashing for a company 1/100th the size of Nvidia. Continue »
SpaceX originally operated two main businesses: its Starlink satellite internet services and its rocket launch services. But in Feb. 2026, it acquired xAI -- which owns Grok, X, and its other AI assets -- in an all-stock transaction to form its new AI business. It also acquired the AI start-up Cursor earlier this month. Elon Musk believes its AI revenue will jump from $3.5 billion in 2025 to $700-$750 billion in 2030.
To sow the seeds for that expansion, SpaceX spent most of its second-quarter capex on Nvidia's (NASDAQ: NVDA) data center GPUs and other AI accelerators. The rest was used to deploy, acquire, and build more high-power data centers to increase its active capacity from 1.4 GW today to its target of 10 GW by next year.
That would give it a lot more bandwidth to handle its multi-billion-dollar compute hosting contracts with external enterprise clients. However, the expansion of that unprofitable AI business could offset Starlink's profits and keep its bottom line in the red.
Before you buy stock in Space Exploration Technologies, consider this:
The Motley Fool Stock Advisor analyst team just identified what they believe are the 10 best stocks for investors to buy now… and Space Exploration Technologies wasn’t one of them. The 10 stocks that made the cut could produce monster returns in the coming years.
Consider when Netflix made this list on December 17, 2004... if you invested $1,000 at the time of our recommendation, you’d have $419,408!* Or when Nvidia made this list on April 15, 2005... if you invested $1,000 at the time of our recommendation, you’d have $1,348,694!*
Now, it’s worth noting Stock Advisor’s total average return is 966% — a market-crushing outperformance compared to 213% for the S&P 500. Don't miss the latest top 10 list, available with Stock Advisor, and join an investing community built by individual investors for individual investors.
See the 10 stocks »
*Stock Advisor returns as of August 19, 2026.
Leo Sun has no position in any of the stocks mentioned. The Motley Fool has positions in and recommends Nvidia. The Motley Fool has a disclosure policy.