Because we don't let people migrate to the US in sufficient quantities to equalize the cost of labor. For better or worse, there's a ton of underemployed folks in China who's alternative to manufacturing is subsistence farming.
Since this is, in your own words, a national security problem, I imagine you're in favor of removing the national immigration quotas the US imposes?