Just because you don't like Trump and Elon doesn't mean that democracy isn't working as intended.
Yes the people who were suing SpaceX for not hiring enough immigrants while SpaceX was also required to hire US citizens should be fired. This is what we voted for. If you don't like it you should support a candidate that doesn't focus on identity politics and win the next election, then that candidate can focus on lawsuits and regulations against the greatest innovator alive.