Elon Musk's social media company X, formerly called Twitter, filed a lawsuit against the liberal advocacy group Media Matters for America on Monday.