I think it was a black mirror episode, but might have been something else, where civilization as we know it is gone, but the fully automated mega factories are still running.
AI: 2154 We've solved climate change for real!
Global Human Population: 125,000