Intel, a US company provided ASML the funds to develop their latest technology (EUV). (https://newsroom.intel.com/news-releases/intel-and-asml-reac...)
In retrospect, Intel should have insisted on much more onerous terms.
There are other suppliers who make photolithography equipment, if ASML went bankrupt, the industry would just fund the competitors.