A man who sued Elon Musk for defamation and securities fraud has alleged that a San Francisco judge allowed AI to introduce errors into an order that torpedoed a key motion in the lawsuit.