Foreign smartphone brands in China, led by Apple, have seen their market shares plummet with local rivals, particularly Huawei Technologies, grabbing them.