The export surge is causing governments to weigh the potential damage to their domestic industries against the risk of antagonizing Beijing.