SpaceX is seeking to hold an IPO later this year, in a deal that could raise as much as $50 billion to fund AI data centers in space and a factory on the moon.