That definitely isn't true. Trump has repeatedly been effusive about how important H1B labor is.
Interestingly, thanks to Covid practices, real estate demand hasn't gone up as the GCCs are just mandating 2-3 days WFH, especially in chip design.
It's only since 2025 when Elon was in his good books and told Republicans to not vote for a bill that Trump woke up that day and decided he'd be pro-H1B.