Not political => without even looking at the solar panels, I'd be wary based off all the numerous issues with their cars. The CyberTruck in particular is like a modern day DeLorean, but much worse. That kind of cost cutting is going to be company wide and makes me wonder if their solar stuff is also problematic (not that I've heard anything).
Political=> he did a full blown Nazi salute twice and has been working to have millions fired from their government jobs. The conservatives who don't seem as bothered by that have never been interested in EVs to begin with and his liberal fanboy customers will never buy from him again now. He is extremely unpopular in Germany and China's Tesla market is being out competed. I don't think that makes Tesla look good long term, so I'd be cautious about a long term investment with them like rooftop solar. That's just my opinion anyway.