Extreme heat drives up energy demands for data centers, adding to their strain on power grids and worsening air quality for surrounding areas.