China has ordered the mandatory closure of 2,087 companies in 18 industries - including dyeing and printing - because of their outdated production capacities.