Baidu, Huawei and Xiaomi have built thriving auto businesses