It's not just that people go to jail in the PRC, after all it's not like Tim Cook or other western executives need fear extradition to the PRC or something, it's more like because for better or (mostly) worse the PRC is a single party government, if one aspect of that government says "do this, or we close this 1.3 billion person market to you," it's a threat with actual teeth.
In the USA any given administration can try something like that and one party or the other will work with whatever company is being sanctioned out of pure spite, or will know that divisions in the USA mean that all that a company needs to do is play just enough lip service to appear respectful to the current admin. Worse case scenario, they wait four years. See: nvidia flagrantly selling cards to the PRC through Singapore.
I disagree with the "dictatorship of the proletariat" ideology, but to be fair the remnants of it that survived Deng Xiaoping does seem to somewhat work in resisting the influence of foreign capitalists.