Yet this is the reality as far back as I can remember. The gravity of that much wealth inevitably distorts the fabric of the legal system.
We've seen stuff like this play out over and over again among rich politicians, celebrities, CEOs etc. We also see it with wealthy businesses that cynically violate the law based on a favorable cost benefit analysis, not to mention their pervasive lobbying that literally defines the law. Even among the less affluent classes, we still see a stratification in practical impunity to break the law since e.g. it's a lot more tempting to speed if a speeding ticket is as trivial as a plane ticket. In our system, everything has a price.
However, if Musk was an illegal immigrant (yes, violating the terms of your visa is illegal, and it's the most common form of illegal immigration) I do think Musk's hypocrisy is quite disgusting. I can admit that if he were more humble and respectful of the immigrant experience he shares with those he maligns, I would be more sympathetic to him.
I dont think citizenship has ever been taken away from another immigrant 30 years after the fact for working on a student visa.
There have only been a several hundred denaturalized immigrants in the history of the US, and they were for things like false identity with outstanding deportation orders.