Ministers are scrambling to find a way to combat an explosion of digitally created images of semi-nude women and children on the social media platform X.