The deal combined two of Mr. Musk’s companies, which have been on different trajectories. The transaction valued xAI at $80 billion and X at $33 billion, the billionaire said.