ASML, a Dutch company, is at the core of TSMCs success. But the machines are only one part of the ecosystem... the buildings to house them are incredibly expensive because you need the cleanest of clean rooms you can get, and then you need expert staff to operate these, and since there isn't much of a domestic chip industry any more in the Western countries, that knowledge has long ago moved off to Taiwan and South Korea.
And on top of that, Western wages are extremely high and environmental regulations are extremely strict after half of Silicon Valley became a superfund site from all the stuff that leeched into the soil from decades of chipmaking.