BEIJING—A state TV expose on prostitution in China's "sex capital" and an ensuing, much-publicized police crackdown has drawn criticism from the public, who expressed sympathy for the sex workers and suggested that authorities target other kinds of wrongdoing.