Lawyers for Elon Musk and OpenAI have begun closing arguments in the landmark trial whose outcome could shape the future of artificial intelligence.