A federal magistrate blocked Elon Musk from claiming that he had acted on the advice of his attorneys as a defense to shareholder allegations that, before purchasing Twitter, the billionaire amassed a significant chunk of the social media platform without letting the public know.

