SHANGHAI—A parody making the rounds on Chinese social-media sites distills the key messages of Donald Trump’s inauguration speech into slogans that echo Mao, Deng Xiaoping and current leader Xi Jinping.

“Struggle to Realize the Great Rejuvenation of the United States!”

“Vigorously Carry Forward the Spirit of Patriotism!”

...