Apple is on track to beat Samsung and become the number one smartphone manufacturer in the world in Q4 2022.