Just like nobody's forcing a consumer to buy an iPhone if they don't like it, nobody's forcing Apple to do business in the EU.
If the EU wants to "boss around" like they do in this headline, maybe it should ensure having actual EU businesses capable of competing with US ones. But more regulation will surely do it, I’m sure, this time.
Apart from that, I'm not sure I see your point. If Apple left the EU market, their stock would tank, and Google would be delighted to pick up the market share.
Your framing is interesting, by the way. When Apple puts restrictions on its users, that's corporate freedom. When the democratic legislative process of the EU results in restrictions on Apple, that's bullying.