The country’s economy is increasingly reliant on foreign demand for goods pouring out of Chinese factories.