SpaceX bought $295 million of Tesla's Megapack batteries in Q2, deepening ties between two of Musk's biggest companies.

SpaceX has ramped up its purchases of Tesla Megapacks for its xAI data centers.

SpaceX has spent $329 million on Tesla Megapacks this year, including $295 million in Q2, as revealed in its latest earnings report released Tuesday.