The planned deal represents nearly a doubling of the AI startup’s valuation from four months ago. After ChatGPT dominated the early chatbot market, Google staged a comeback with a powerful AI model.