OpenAI countersued Apple on Friday, saying Apple stole its hardware trade secrets and threatened suppliers that work with both companies.