It’s not a problem with capitalism so much as it is a problem with globalism.
while I don’t like tariff wars, a country should always work to protect its own citizens against being undercut by foreign entities (including illegal invaders). To a point, of course. Don’t want the locals getting fat, dumb, and happy either. FAIR competition is what it’s all about.
Domestic competition works to stop that.