Tesla and SpaceX are businesses and I never understood the public fandom behind them and Elon Musk. 3,500+ people losing their jobs is pretty significant for a leader who touts altruism as one of his top motivators.
There is social utility in the efficient allocation of labor. While there are plenty of justifications for devoting resources to help people find new jobs, and reduce frictional unemployment, keeping people in jobs where their compensation is not cost effective relative to their output impoverishes an economy and the people in it.
If on the other hand Elon Musk as a household were maximizing his personal return on equity in Tesla for the sake of purely wasteful personal consumption that would be another thing. However, he seems to invest almost all of his wealth into his companies.