The iPhone maker is seeking an injunction that could reach into OpenAI’s $6.5-billion hardware bet, alleging the company sought Apple parts and supplier secrets.