The response is not specific to China, but I would suggest reconsidering the question given the history of the 20th Century included two World Wars, the rise of fascism (including the 1936 Olympics being held in Nazi Germany...) and a decades long Cold War. One of the things which occurred during various Olympic Games during (and after) the Cold War was that medal competitions between Cold War rivals in some ways served as a proxy for other types of competition between power rivals. In many respects the same is true with medal counts between various countries now.
If nations' are competing for medals, and are willing to go to extreme (not to mention questionable and/or outright dishonest) measures to 'win' such competitions, then the Olympic Games are really serving as a non-violent, proxy battlefield rather than fostering friendship, cooperation. or goodwill.