Extreme temperatures and repeated wildfires are pushing infrastructure to the limit and testing the continent’s resolve.