And there lies the rub. A) It is entirely possible that China will screw up something in their planning resulting in poorer environmental outcomes. B) This demographic shift will almost certainly come matched with an economic uplifting, and regardless of efficiencies of scale and density (which is what a city gives you), the increase in standard of living (and therefore energy and other related 'products') can result in increased environmental damage.
It really comes down to a question of execution.
You can see the effect of years of exposure to soot on the faces of people who live in rural China (and, I daresay, anyone who lives in similar circumstances). These people are not living particularly environmentally clean lives right now (although, to be fair, they probably do consume far fewer manufactured goods than their city-dwelling brethren).
Something of interest is the prevalence of solar water heaters, both in urban and rural areas. They are surprisingly common, much better than heating water using fire or electricity, and affordable even to those outside the cities.