The Chinese government is imposing regulations on the use of A.I. apps and chatbots out of concern that the technology could interfere with human relationships and undermine social order.