North Carolina factory turmoil illustrates how tariffs can swiftly ricochet through economies, in unpredictable and often costly ways.