AI and the "end of humanity". Explain please?

Related thread.