Apple and Huawei gain share in falling China market