Famously, neither of his companies are even remotely profitable, and he has one of the most prominent reputations in the world to help him raise endless investor funds- either from private investors or retail ones. Both of his companies have been burning cash for close to two decades now! To my understanding SpaceX- which just raised another funding round despite never being profitable for a minute- doesn't even have a realistic path to profitability other than a handwavey 'we'll somehow establish a global wireless Internet from satellites' sort of plan
SpaceX has a very easy path to profitability. They may even be profitable right now. And if they aren't, it's because they reinvest everything in R&D for starship, so if the shareholders decided that they just wanted to make cash on the short term they could just stop reinvestments in R&D and milk the satellite launch market, they are making a profit on every one of those launch and customers are queueing to be on a falcon rocket.
As for Tesla, their last quarter was profitable, sure they aren't profitable year over year yet, but saying that 'neither of his companies are remotely profitable' seems pretty far from the reality.