I agree YMTC is in a far better situation than Huawei for 2 reasons:
1) Huawei without chips cannot make hardware products, and cannot make revenues on them. A banning of equipment on YMTC instead would impact its expansion capacity but not its current revenues. It is like to block someone from fueling his car, he will stop shortly after. Or block someone to buy a new car. He will still go with the old one.
2) To stop advanced foundries from supplying Huawei it has been a KO punch: there is nothing in the short term that Huawei, not a IC manufacturer, can do to workaround this. In the case of banning equipment sell to YMTC, it is far from clear if local manufacturers are not able to replace AMAT and Lam research. Maybe they are not market leaders, but they could provide some viable alternative, considering also that, as I said before, time frames are longer in this case.
It means US will not ban YMTC?
Well, I would not hold my breath. If I would be US administrator I would probably ban anyhow, but with a second objective: to force Chinese equipment manufacturers out of the international arena (I think this is a much more improtant target in the long term). The logic is this: US prohibits to supply YMTC, local manufacturers very probably supply YMTC anyhow, US bans local manufacturers from selling in international markets, for instance by treating their international customers not to buy Chinese equipment.