The publisher of the Irish Independent is taking legal action against X, formerly Twitter, over “fake advertisements” on the social media platform.