In a complaint filed Friday, Apple accuses OpenAI of illegally accessing information about unannounced products.