The partnership represents an effort by Huawei to catch up to peers such as search giant Baidu Inc. and social media titan Tencent Holdings Ltd. Both companies have already started public trials of self-driving vehicles, though generally with a human driver riding along as a precaution.