BEIJING—For China’s tech companies, content-moderation tools are becoming a big business, and one that could spread Chinese-style censorship around the world.

U.S. tech companies already use content-moderation systems to screen out pornography, hate speech and extreme violence online, but they have largely resisted using them to filter political content.

Because...