Google said 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 Microsofts popular AI chatbot Chat GPT.