Apple loses top spot in China smartphone sales to local rivals