One of the motivations behind this whole thing could be that he could make a way for foreign talent to work on space projects without the necessary government signoff.
I'd say less than a third.
Wouldn't a simpler explanation be that SpaceX is making a lot of money while xAI is losing a lot. If funds have to flow through Elon personally it is likely complicated and costly. Also, if the "space data center" idea is actually workable (I have no idea if it is) then it does make some logical sense as well. Of course, Twitter just seems like kind of a write off to me at this point.