Google and Character.AI have agreed to settle multiple lawsuits over chatbot-linked teen suicides.