China’s tech industry has long taken Silicon Valley’s lead, from products to business models to office design. But it has paid scant attention to the scandals that have rocked Silicon Valley this year, based on allegations of gender discrimination and sexual harassment.

In the U.S., large companies have been caught up in the furor, from allegations of frat-house culture at Uber Technologies Co. to a debate about women’s roles in tech sparked by a software engineer at Alphabet Inc.’s Google. Separately, there has been a spate...