This is about the Digital Markets Act, its not the EU saying it isn't secure enough, they are saying users should be able to choose to use the same functionality but with different AI providers.
Compliance with DMA would have Apple hand over system-wide access to AI features to third parties, which could compromise user privacy and security.