A textile dye maker in northwest China has been ordered to demolish its factory on the edge of the Tengger Desert after discharging waste water into one of the country's largest deserts for more than a decade.