I'm a little hopeful that the discussed H1-B reforms may actually help countries obtain particularly niche talents more than the outsource-lottery played now.
But I think the real threat to our tech dominance is privacy concerns. The U.S. owns the cloud with AWS, GCP, and Azure, but if other countries can't use their services due to US government overreach, then I'm sure strong competitors will pop up elsewhere.