I have read the Google deal makes xAI profitable. In the short term, anyway.
xAI is a failed company, as is X. Their merger into SpaceX is basically a scam. Elon Musk justified this by saying he is going to send xAI servers into space using SpaceX. This is an unproven idea, not ready for investing.