I take the view of humans being very innovative cockroaches (in the most endearing sense possible) with a strong will to survive. There are surely global catastrophes in store for us in the near future, climate change particularly, but I don't expect these to exterminate humanity or even do enough damage to seriously set back technological development for long. I expect mass migrations and major wars, but humanity has a track record of surviving these sort of things. We'd need something more in the magnitude of a comet strike to really unwind the technological-industrial revolution.