They course through many of the world’s biggest cities: miles of underground pipes built decades ago, ferrying steam or hot water to a network of buildings. Misty manhole covers on urban streets signal the presence of what’s known as district energy.