BEIJING—China’s chief cyber censor is raising the regulatory pressure on internet companies to police online speech, requiring them to keep extensive records about users and alert authorities about the spread of what the government deems harmful content.