China is not a homogeneous country and they have huge number of poor people. They also have a growing middle-class and wealthy segments too. Not every kids is a STEM genius and there are reasons why a lot of Chinese want to raise their kids in the United States instead of China. And lots of them move here, set up households and raise them here.
I think that Singapore does far better than China at STEM education in general but that's partly due to the parents. I think that Finland does a pretty good job too.
But China has the numbers. If you take the kids with aptitude, then China has more because they have a much bigger population. There are all kinds of problems with Chinese education - they are not the Master Race that you make them out to be.
Chinese do not "move here" to the USA legally. They utilize specific illegal enterprises to help them gain access to the states; moving their money out of china illegally with the help of these enterprises and they "invest" in real estate all over the world to hold their money. The university scandals you hear (or don't hear) - the chinese are in deeper than any celebrity you hear on the news...just MSM dare not broadcast these activities committed by chinese foreigners.
China due to the enormous amount of people (who are also very poor) - they need to survive and will study their arse off 24/7 if need be just to survive. Otherwise it's rural farming and BS peasant work for them forever. Hi-tech is where the money is for them and without an education they will not survive.
The biggest difference is the DRIVE they have over seas. In America, kids these days don't even respect their teachers. In asia, teaching profession is highly respected.
Look at vancouver, b.c., look at the mess chinese investors have done to the real-estate market. It's because of these corrupt politicians in the usa that has caused so many problems for its own citizens. It's as if the $money comes first into the pockets of politicians and the citizens are all left with BS. It's time America gave a shxt about Americans. Look at NZ - new rules to prevent easy entry into their country due the mass influx of chinese immigrants.
Back on topic here: Huawei can go pound sand. They can continue to flourish in China - no one needs their tech and unless you too stupid to see the potential downside of a china run company with their computer network access installed into our infrastructures. They cannot be trusted pure and simple. If you like to own their stuff, go right ahead but don't go and say unpatriotic BS about how USA is being a total dick to Huawei, poor little Huawei is the victim. If you don't act now, by the next decade, it's going to be too late to recover. These Chinese sharks have a master plan and that plan is to take over the world ($$$$ = Power).