A datacentre is cooling its servers while providing nearby residents with heating.