Small factories with tiny profit margins have played a central role in China’s international competitiveness. Many could now face disaster.