Elon Musk’s social media platform X is set to be served with a formal warning for failing to combat dangerous content, in the third show of force by European Union regulators against Big Tech in recent weeks.