OAKLAND, Calif. (AP) — Lawyers for Elon Musk and OpenAI made their final arguments Thursday in the landmark trial whose outcome could shape the future of artificial intelligence. Musk, the world’s richest man, was a co-founder of OpenAI, which started in 2015 and went on to create ChatGPT. His lawsuit filed in 2024 accuses OpenAI CEO Sam Altman and his top deputy of betraying a plan to keep it as a nonprofit and shifting into a moneymaking mode behind his back. The trial’s outcome could sway the balance of power in AI — breakthrough technology that increasingly has raised fears about its potential impacts on the economy, society and even humanity’s survival . Scrutiny of Altman’s leadership comes at a crucial time for the company and its competitors, Musk’s own AI firm and Anthropic, formed by a group of seven ex-OpenAI leaders. All three firms are moving toward planned initial public offerings that are expected to be among the largest ever.…