After ChatGPT dominated the early chatbot market, Google staged a comeback with a powerful AI model. It also launched the biggest search-engine overhaul in years.