iPhone x is the best when you will compare it with Google Pixel 2 XL. If you want a better performance and others features then go for iPhone X and if you are looking for a phone with a better camera then you should definitely go with Google Pixel 2 XL
Yes, Google Pixel XL 2 supports OTG. USB OTG or USB On-The-Go is one of the most recent technologies that allows you to connect your pen drives and in some cases hard disks to your smartphones and tablets. It has a cable and through that cable, you can directly view and use your pen drive in your smartphones.