California is suing OpenAI over a wave of AI hacking incidents targeting Hugging Face and other third-party companies.