Elon Musk has revived a lawsuit against ChatGPT maker OpenAI and its CEO Sam Altman on Monday, saying that the firm put profits and commercial interests ahead of the public good.

The suit, which was filed in a district court in Northern California, alleges that once OpenAI's technology started to transform generative artificial intelligence, Altman "flipped the narrative and proceeded to cash in."

In June, the billionaire entrepreneur withdrew the lawsuit against OpenAI and its CEO, Sam Altman, which accused them of abandoning the startup's original mission to develop artificial intelligence for the benefit of humanity rather than for profit.

Attorneys for Musk had asked the California state court to dismiss the lawsuit, originally filed in February, without providing a reason for the move.

(Reporting by Zaheer Kachwala in Bengaluru; Editing by Tasim Zahid)