Universities often have one or more chiller plants that cool multiple buildings on campus (also boiler plants).
Very large building-sized boiler and chiller plants served each half of my campus (probably less than a square mile in total). I'm not sure it would work at city scale.