Decades of inviting China's leaders for some trade talks, and pointedly avoiding making mention of Xinjiang, Tibet or Hong Kong. Maybe make some mention after the Chinese have gone home. Never officially call Taiwan a country - don't upset them. Forget all that inconvenient history of how modern post-WW2 Taiwan, and Hong Kong came about.
South Africa got decades of international sanctions, trade and sport embargoes. China got a few years of minor sanctions for Tiananmen, then ever more trade, more factories, more Western manufacturing. The US barely kept sanctions up for two years. The other Western nations weren't much different. Back to business as usual.
Edit: At this moment, the story above this one on the front page is "Apple Moves Mac Pro Production to China".