Apple has its worst China quarter since 2020 as Huawei’s resurgence eats into its market share, according to new research