I honestly don't think the world will end until the sun burns itself out.. like the scientific approach to the apocolypse.
I don't think we'll be wiped out by a plague of locusts, killed by disease or famine, or even nuked to fuck by someone. I reckon the inhabitants will go out when the sun burns itself out and life can't exist anymore.