The US has successfully stopped them from acquiring the machines. That's not the same as stopping them from acquiring the capability to make them. On the contrary.
there is reason why they call trump in China Chuan Jianguo" (川建国) aka "Trump the Nation Builder", though not sure Americans would like to know which nation he is building and which one he destroys
Before I left China in 2016, I had lots of chats with Chinese coworkers who liked Trump a lot more than I did. I guess Trump just comes across as a strong leader in China even if he is way more crude than a typical Chinese leader who acts strong but speaks diplomatically.
ASML of the Netherlands agreed to go along with past US requests to not supply China with bleeding edge machines, so China is making do with the older models while working hard to break the non-US hardware monopoly.
Washington, via the recent MATCH Act, has requested ASML to not supply or maintain any of the older equipment.
ASML has travelled to Washington to tell US Congress to take a long walk off a short pier.