In case you haven't been following Musk's career, there's a simple reason he is donating to GOP folks who want to impeach judges: Musk seems incapable of following rules, whether laws or his own promises.
He's lost repeatedly in court -- in disputes sounding in contract, corporate law, securities regulation, or simple court orders.
Only someone who has so much money he thinks he's above the law would want to put judges in jail for following the law.