Musk and Trump is going to be interesting, for sure.
The MAGA movement is an isolationist one, that is very explicitly anti-globalist.
Musk is a globalist.
Musk didn't initially seem to have much time for MAGA but, following the 2020 election, threw his weight behind them. Personally, my read is that Musk really just wants to be idolized by the public and most of his crypto-bro followers were Trump supporters.
I am not sure that Trump could have won the last election without Musk's support, and now Musk is front and centre of his administration. I imagine Trump was, and remains, in need of financial support and sees Musk as a useful friend in that respect.
The MAGA base already seem to be turning on Elon.
I'm not sure if Trump's ego will allow him to permit Elon to continue to outshine him but, ultimately, Trump (I suspect) needs to keep Musk on side. Trump needs Musk far more than Musk needs Trump.
I think that Trump will remain in Elon's pocket for the foreseeable future, and Trump will attract increasing anger from his base for pursuing more "globalist" policies.