Urban areas will roll out technology that recycles excess heat from sources like data centres or factories to help heat buildings.