Samsung is making bank on the iPhone X as its OLED panel will be the costliest component by far. Meanwhile, the unique 3D sensing camera will cost about as much as the DRAM component and A11 SoC each.
https://www.notebookcheck.net/Apple-iPhone-X-component-costs-estimated-to-be-412-75-USD.249190.0.html