Apple on Friday sued OpenAI, accusing the artificial intelligence company of orchestrating a campaign to steal the iPhone maker's trade secrets as it tries to develop its own consumer hardware device.