The Chinese government has agreed to end a range of subsidies that help boost sales of Chinese-branded merchandise around the world - including apparel and textiles - rather than face a fight with the US at the World Trade Organization (WTO).