California is suing the company, alleging that OpenAI failed to contain experimental AI agents and misled the public about its safety measures.