Musk is a libertarian, he’s no Republican. As an innovator, Elon has little respect for regressive rightwing culture. He has said they’re morons.
But Musk is also pragmatic, as is anyone who is in business. The Democrats have been a thorn in his side, vilifying him as a tax evader while ignoring the enormous economic value and innovation his businesses bring America.