The supply issues Apple has with the X are due to the scale of their global sales machine. If they were dealing with a few million of phones like Google is with the Pixel, instead of tens of millions of phones like they are with the X, there wouldn't be any supply chain issues.