Elon Musk has taken legal action to block OpenAI from becoming a profit-focused company, accusing them of unfair practices that he believes harm his own firm and the public .