Elon Musk's artificial intelligence company xAI has suffered its second courtroom defeat against OpenAI, after a federal judge dismissed a lawsuit alleging the rival company stole confidential information about its Grok chatbot.

U.S. District Judge Rita Lin in San Francisco ruled that xAI failed to show OpenAI had induced a former xAI senior engineer, Xuechen Li, to divulge any confidential information related to Grok. According to reports from CNBC TV18 and MSN, the judge found no evidence that OpenAI had prompted Li to reveal trade secrets.

The case centered on the claim that proprietary details about Grok — xAI's answer to ChatGPT — had been improperly obtained by OpenAI through a departing employee. Courts require plaintiffs in trade secrets cases to demonstrate not just that information may have changed hands, but that the defendant actively induced or benefited from its disclosure. xAI could not clear that bar.

The dismissal marks the second time Musk has lost a legal fight against OpenAI and its CEO Sam Altman. Musk, a co-founder of OpenAI who later departed and launched xAI as a direct competitor, has pursued multiple legal avenues against his former venture.

The outcome matters because it underscores how difficult trade secrets claims are to win in AI, an industry where talent moves rapidly between rival firms. Courts are setting early precedents about what constitutes improper use of competitive information — and so far, those rulings have not favored challengers trying to slow dominant players like OpenAI.