Apple can tweak the software to check the Cable ID and various other identifiers to see if the cable is genuine, otherwise it can be rejected completely from working at all. I support this idea, because if fake cables cause electrical issues or damage the device, Apple cannot be held responsible. Use a genuine cable, don't have the issues - pretty damn simple.
----------
Sick of people being stingy thats why. If you paying AU$900 for a phone and upwards, why would you be so stingy on cables for your expensive phone? The genuine ones function as designed, they have the correct authentication chip as well which manages the data, device iD, and other internal data to verify its genuine. I think Apple should take this further and lock out connection if not using a genuine cable. This prevents fools buying cheap cables, that may cause an electrical fault and then the customer tries to claim this under the device warranty / hardware which will be rejected because of a third party (el cheapo) cable.