I think Elon was always what I'd call "silicon valley libertarian" at best. Nothing he's said or done is really all that surprising, if you go back and look at the things he said and did 10 years ago.
Agreed. EVs and solar are generally considered "lefty" (unfortunately), and I can't think of anything he espoused outside of that which could be considered "liberal".