Apple got some good number with iPhoneX launch it seems, after several years' of decline in market share. They're no where close to getting killed though.
The fact it's moving servers to China is most likely going to have positive effect on their sales, not negative.