China subsidizes their infrastructure and industries which is why they are able to produce cheaper than domestic.
There really isn’t a good answer in these kind of trade wars other than outright banning, tariffs, or heavy subsidies to your own industry.
In these cases countries are determining national security concerns outweigh environmental concerns. Not saying it’s right or wrong but that’s where we are
Why not ban both if we are concerned about the harms of algorithmic content?