Apple and Samsung lose ground in smartphone market as Chinese rivals pile on pressure