Exactly this. The Chinese state is a well known risk to British security. The fact they, an incredibly powerful military, would invade using bikes is the satire/what makes it funny. It's a political joke.
The actual Chinese people are not being made fun of here. If the joke was 'well the Chinese drivers of the city would be safer on bikes'. That would be racist. And also a shit joke.