I never heard of this E.M. Forster short story before today. It is called "The Machine Stops." It is from 1909. It is about people having to live underground, and in isolation, as the Earth is no longer habitable. People have grown to worship The Machine, forgetting humans designed and built it. Humans no longer have the capacity to fix it, and, as its defects become apparent to some, people believe the bad things happening are because The Machine is punishing the human race.