Yes, this is _one_ of the reasons I think TSMC is fairly safe from doomsday theories like China trying to cut it off from the world. Because that would risk it being cut of from ASML, and they are unlikely to be anywhere close to making their own machines before grinding to a halt.
Short term, it's mutually assured fabrication destruction; Long term, the world needs more redundancy and competition in both areas.