Microsoft cofounder Bill Gates says the rise of AI poses a threat to Google's search engine profit