I could imagine scenarios where civilization depended on our ability to create energy or grow food on a scale that required ramping up fission or fusion reactors really fast. For instance, an asteroid or volcanic eruption blocks out the sun and we need to figure out how to keep our cities from starving.
Another technological approach to avert starvation in the same sort of ecosystem collapse scenario is to develop and implement human hibernation, like the cryo-sleep pods from science fiction movies. Thus we drastically reduce the calorie needs of the average person, so that a much smaller population can try to work out the problems and get the world back into a state where it can support a larger population. (There was a movie called Downsizing that was about that kind of solution, except that in the movie they literally shrank people so that their demands on the ecosystem are dramatically reduced, and cost of living is almost nothing.)