A sanctions-hobbled Huawei Technologies Co. Ltd. barely managed to stay in the top five smartphone brands in its home market of China during the first quarter, as it lost share to a surging Apple Inc., according to data supplied to Caixin by IDC on Thursday.