New Delhi, April 11 -- The messaging from China's Communist government may once have been dogmatic and rigid - not anymore. Having largely tamed the internet at home with tight censorship, Beijing is now tapping the power of social media and artificial intelligence to tell its story - and often to skewer the U.S. and its president.

In a five-minute AI-generated animation modeled after classic martial arts movies, China's state media frames out an allegory for the war in Iran. A white eagle in regal attire representing the U.S. unleashes an evil laugh before his army attacks a group of Persian cats draped in black cloaks standing in for Iranians, who vow to fight after losing their leader and close off a crucial trading route.

Touching o...