User agents can detect the AppleWebKit. This is a browser engine used primarily on Apple devices, BUT also on BlackBerry Browsers, PlayStation consoles and the Tizen mobile operating system. Also, you can find AppleWebKit appearing in the Android device list for user agents.
Thus, it seems as though the AppleWebKit does not actually uniquely identify the user's device as belonging to apple.
Which part of the user agent string does?