To be fair, there is no readily declared the winner between the Pixel 2 XL and the iPhone X.
The War Between Google And Apple In The Mobile Scene

The iPhone X isn’t even out yet so that needs to happen too. Also the pixel 2 is the competitor to the iPhone X not the XL version which is competing with the iPhone 8 plus.