The companies said in court filings that they aim to settle five lawsuits from families alleging that Character.AI chatbots harmed minors and caused two suicides.