Elon Musk is looking to merge SpaceX which gets much of it's funding from the government, with X-Ai which includes Grok and twitter. Grok is being integrated into the US military, while SpaceX is working on Star Shield
The marriage of state, corporations, and social influence.

Exclusive: Musk's SpaceX in merger talks with xAI ahead of planned IPO, source says
The merger would bring Musk’s rockets, Starlink satellites, the X social media platform and Grok AI chatbot under one roof and could boost his efforts to launch data centers into orbit.