Google and Character.AI are settling with families who sued the companies over alleged harm caused by AI chatbots.