Digital avatars, the latest generation of chatbots, are helping overseas brands connect with shoppers in China’s vast consumer market.