5G technology is entirely new and still in testing face among telecom companies, device manufacturing companies, and software companies. Though rules of the 5G have been finalized, prototypes have yet not been finalized and phones in today's market will not be compatible with the 5G Technology.
Apple iPhone x does not support 5G and will not be compatible with it.
Praful P V P
I will recommend you with OnePlus 6. The device comes with a 6.28-inch screen with Optic AMOLED display technology and a resolution of 1,080 x 2,280 pixels.
The smartphone features a single front-facing camera with a 16MP resolution to promise quality selfies and video calling. At the rear, the smartphone features an excellent dual-camera setup with 16MP and 20MP resolution, which are assisted by dual-LED flash. It is powered by a 2.8GHz Kryo 385 octa-core processor and is assisted by a massive 6GB RAM for flawless performance. The OnePlus 6 is a perfect smartphone, loaded with every feature you would expect your smartphone to have.
You can also check the complete comparison here: OnePlus 6 vs iPhone X