Tesla isn't having a great look on Wall Street, but that's because investors priced them as a tech company instead of a car manufacturer. They're having demand issues, but they'll adjust and markets will adjust the way they price Tesla shares. They still had no trouble raising funds despite serious new direct competition.
Solar is making huge international wins from cheaper, non-domestic manufacturers, including a few of the first massive installations to come in cheaper than coal.
Immigration is a real issue, of course, but a lot of companies have adjusted by opening R&D offices in Vancouver to be close to the border and the time zone of US tech offices.