So to give this a serious answer, why not ? Most but not all of the world has made this illegal because it’s generally viewed as harmful, to society, to the business and to the owner him self quite often. Companies are social enterprises and enjoy the rights with atleast in theory on the perimis that they benefit society in general as well as their stakeholders. Firing an individual who is performing their duties well doesn’t really benefit anyone. Not even Musk, who seems to have always had a particularly thin skin.
TLDR it’s not just Musks money/company, nor is he even acting in his own best interests IMO.