Also, TSMC hasn't been around long enough to become the slow behemoths that other big monopolies have become.
And Intel was a company that was still shoving billions into r&d, yet still got stuck
So much of the tech industry has Moore's law baked into the supply chain forecasts, so lots of incentive to deliver on it.
It makes a big difference to a few competitive customers so TSMC gets paid well for that first mover advantage, but yeah it’s not well secured monopoly.
ASML tech is a tool, one essential for new better chips but not sufficient
You also need to have a lot of know how about how to best use the tool, integrate it in workflows etc. where TSMC seems to be somehow ahead of Intel.
Additionally the custom tooling in the steps leading up to the use of ASML tooling are also hugely important and TSMC is quite a bit ahead of intel with that. It turned out having multiple different customers with different needs which all collaborate with TSMC to optimize the tools in their workflows.
Through TSMC for example has margin >40%. Which isn't that surprising I mean there is not much competition. Intel doesn't (yet) provide their capabilities to anyone else, and the other competition is behind enough to not be an option for many things, especially high end and/or high efficiency.
What is quite fascinating is that while TSMC is a close to monopoly(/duopoly if you count Intel) in many sectors and takes advantage of it they seem to have successfully resisted the common problem of such companies stopping/slowing innovation and similar problem. I'm not sure if it's related to the additional pressure of them being on of the main lifelines for Taiwan or if they have just pretty good management or if it's because they still competition oligopoly main customers do push them to do so.