That's not at all how it works. You're talking as if you're buying a plug-and-play Xerox copy machine that you can just unbox and start printing copies of your work and make money.
Buying the latest EUV machines doesn't get you the latest nodes and economically viable yields.
Intel, Samsung also have the latest ASML machines that TSMC has and yet they haven't caught up to TSMC because there's a lot more to semi manufacturing that just the machine itself.
If Germany just buys an ASML machine it would be an expensive paperweight without the process know-how that engineers at TSMC have amassed over the decades in order to get the most economically competitive yields.