Well I really hope they do it. It would be fascinating to see what would be the outcome for a tech company to exit one of the largest and richest markets in the world, where they've been doing business for decades and are very well established. The outcome both financially and from a PR stand point. I suspect it would be a disaster for Apple but it would be still be interesting to watch.
To me it's fascinating to see how users on this site (especially those that live in the US) think that Apple is this huge power that should be above the law and can buy whatever company they want (I've seen suggestions Apple should buy Microsoft or Samsung 🤣) do whatever they want, well with 1 limitation: China. The discussions about fighting new legislations are more lit only when it's about the EU because if its about China and the largest Communist Party in the present well... Apple executes any demand immediately with no complain and those that accuse EU here, will defend Apple when they execute CCP's demands which is really funny. Also you won't se many "Apple should pull out of China" suggestions. The logic is simple, you do business in a country or region, they make the rules, pure and simple, your internal goals, culture and filosofy for making profit doesn't mean anything in front of the law. And honestly I'm glad EU is more proactive in protecting their consumers and it's especially vizibile in the food sector where countless more products in the EU vs US are banned for proven use of substances that harm the health of those that consume them. EU is also very proactive with recycling and improving the carbon footprint. Yeah its annoying, makes a lot of things more complicated but in the long term it will be beneficial.