EXACTLY. Micron has been lobbing US politicians BEFORE the Jinhua situation to suppress potential completion in China, it could be safe to say that they pretty much started this whole situation with YMTC. Is also interesting SK (Samsung, SK Hynix) and and Japanese players (Kioxia) didn't got their products review for "national security".
Personally, I would be pretty much in favor of the "sell your best or sell nothing" policy because a lot of pundits think that they can have it both ways, that they can have their cake and eat it too by banning cutting edge products to the Chinese market while selling what they already produce to keep Chinese companies down. As companies like Naura and AMEC increase their production capacity and their market share, the message should be clear and reciprocal, sell everything including your best or sell nothing.
Samsung and SK Hynix are among the biggest fish in their industries have big investments and operations in China, although they make alot of money from the Chinese market they also add alot of value through their activities. Micron is a small fish in the industry although still quiet capable, and it doesn't provide nearly as much to China as the others and it is an easy target, and one that has a low cost even if their activities are severely curtailed as a lesson.
As for Qualcomm and others, I think they are playing a poor hand well. They have to follow US regulations since their operations depend on it, but they are continuing to hedge their bets and investing in China such as the new Qualcomm R&D center. Same for AMD/Nvidia, they have not pulled out. At the end of the day, its similar to any negotiation or contract, you have to provide something of value to get something of value. As
@siegecrossbow said, as long as both sides get something from it there will still be opportunities despite the politics. I know people like to point out how Apple makes a killing in China, but the supply chain and expertise cultivated through their investment is worth alot on its own. At the end of the day, what you want is the value creation, whether it is through domestic companies or international ones. Tesla is a great example of this and other international companies whether in semiconductors or other technology sectors still have great opportunities in the market, they just have to offer up more localization value if they want to be successful amid political headwinds and local challengers.