Bill Gates warns of 20 years of turmoil from artificial intelligence