A federal judge dismissed the SEC's request to sanction Elon Musk for missing a testimony related to his Twitter takeover.