Record flooding pushed Michigan’s dams to the brink of disaster. The near miss reflects the national problem of infrastructure that is not suited to the challenges of a warming world.