The US continues to repeat this mistake by adding hurdles for immigrant talent while persecuting or being generally racist against Chinese-American scientists [1]. Despite that, there's still a net influx of foreign talent coming to the US whereas relatively few people move to China.
[1] https://en.wikipedia.org/wiki/Anti-Chinese_sentiment_in_the_...