GPS won't prevent theft, but can help in recovery. Can.
But Apple does more stuff as well, like encrypting your phone and making it so even harvesting a stolen phone for parts is unattractive (everything has serial numbers and you can't just swap a part out).