Elon Musk’s X Corp. sued Media Matters on Monday, claiming the media watchdog group defamed the social-media company last week with a report that pro-Nazi posts were appearing next to ads by major brands.