SHANGHAI—China's ambition to create "green cities" powered by huge wind farms comes with a dirty little secret: Dozens of new coal-fired power plants need to be installed as well.

Part of the reason is that wind power depends on, well, the wind. To safeguard against blackouts when conditions are too calm, officials have turned to coal-fired power as a backup.

China...