To anyone who can see it (maybe it takes some relevant life experience), it's patently obvious he's been spiraling down a dark hole of drugs, depression, ego, burn out, and addiction.
He's in a very dark place and lashing out, hurting himself and others, like so many people in dark places do.
The man desperately needs help, as much as someone on the street doing fentanyl does. But being rich can actually make it harder to get clean. Wealth can insulate a person from consequences, which can make it harder to hit rock bottom which is often the wake up call people need to shock themselves out of their problem.
Elon Musk isn't the devil, he's actually good and useful person deep down, but right now he's fighting demons and they're winning.