As American companies recalibrate the risks of relying on Chinese factories to make their goods, some are shifting business to…