The lawsuit seeks to stop OpenAI from developing and testing AI models that can illegally access other organizations’ computer systems.