Apple's iPhone has failed to clinch the title for the top selling smartphone in China for the first time since 2012, according to a report.