Artificial Intelligence and the Future of Humanity