Google said on Wednesday it would soon integrate artificial intelligence ( AI) capable of generating text and other content in search results, as it battles to answer the challenge of Microsoft's popular AI chatbot ChatGPT.