40% share is a general principle, but it isn't absolute. Apple have a ~27% market share for smartphone sales, but they have a considerably larger share of the overall mobile app market and the App Store obviously has a 100% monopoly on iOS apps. They're in an effective duopoly with Google, which considerably reduces the competitiveness of the market and therefore the threshold for market dominance. It's also worth bearing in mind the serious concerns within the EU about the hegemony of major tech companies.
From your source:
>The Commission also takes other factors into account in its assessment of dominance, including the ease with which other companies can enter the market – whether there are any barriers to this; the existence of countervailing buyer power; the overall size and strength of the company and its resources and the extent to which it is present at several levels of the supply chain (vertical integration).
Apple clearly score very highly on most of these points.