Chinese online retailer Temu is facing a European Union investigation over suspicions it is failing to prevent the sale of illegal products, the 27-nation bloc’s executive arm has said.