Don't really like this framing of the problem - he owns a majority of voting shares, and he paid (or, rather, overpaid) mightily for that right. You can't really be "fired" from being an owner, and I'll note Musk is no longer CEO (and, sure, you can argue the new CEO was hired to be the fall girl/glass cliff example, but that was still her eyes-wide-open choice).
People wrung their hands about Zuckerberg as well (he also has a majority of voting shares of Facebook), but in retrospect that hand-wringing looked premature, at least from a shareholder perspective - Meta is nearly back at its peak and has tripled its stock price from late 2022.