Was it even avoidable with global competition putting pressure on price and cost? Americans just don't want to work for the same wages some in China may accept.
Switzerland is a fascinating example of a country which almost entirely bans foreign competition in anything they can reasonably produce domestically. Costs are high, but wages are higher.