The market is big enough
The iPhone X is unremarkable for its price, but Apple can count on enough fanboys & girls as well as people purchasing a status symbol first, and a phone second, just like the 1k5 Hermes Apple Watch.
I would worry more about the iPhone 8 and 8+, which don't seem to generate a lot of buzz, even among Apple's customers, as far as I can see.