A good way to put it as "China was very willing to subsidize the cost of mining these elements as environmental damage".