Challenges and promises the future of artificial intelligence and humanity