Humans have been making religious predictions about the end of days for centuries, but more secular versions have been emerging in recent decades.