Apple has confirmed that it has switched off a data protection feature on UK iPhones after the Labour government issued asked for access to encrypted files.