SAN FRANCISCO: OpenAI countersued Apple on Friday, alleging that the iPhone maker committed similar trade secret theft that it had…