China has history of building hydroelectric power plants with excess power and you need only a few instances of surplus energy as they can be bought at a discount, which makes mining more profitable. Fossil fuel can't provide surplus energy in principle and can't be attractive for mining.