Sales of the iPhone in China suffered at the end of 2024, seeing a drop in sales that has put it in a close race for second place with Chinese smartphone maker Xiaomi.