Beijing is set to tighten the country’s rules for human-like artificial intelligence, with a heavy emphasis on user safety and societal values.