SpaceX and xAI would not be able to freely collaborate on space datacenters after the IPO because it would be self-dealing. SpaceX likes to be vertically integrated, so they wouldn't want to just be a contractor for OpenAI's or Anthropic's infrastructure. Merging before the IPO is the only way that SpaceX could remain vertically integrated as they build space datacenters.