1) if Apple rage quit the EU, they would lose a lot more money than a some engineering hours making sure devices are DMA compliant.
2) that revenue would go to one of Apple's competitors
It all equates to "if you make me have to spend $1 more in compliance, I will retaliate by losing $1000...