Artificial Intelligence and the future of humanity