In electronics, the success of areas like Shenzhen and the relative expense of engineering in the US has decimated non-defense industry.
In 2002, there were 385,000 electrical engineers in the US. In 2014, there were only 300,000. (https://www.computerworld.com/article/2487847/what-stem-shor...)
Why should foreign students expect to work in relatively expensive industries that are losing employees in the US?