The European Union accused four pornographic platforms on Thursday of allowing children to access adult content in breach of digital rules, putting the companies at risk of large fines.