Apparently, Apple iPhone 4's and 3GS with the June 2010 update are keeping a log file of the users location that is backed up on whatever computer the phone is synced to and makes it that much easier to get that information Apple users.
iPhones secretly track 'scary amount' of your movements - The Register
iPhones secretly track 'scary amount' of your movements - The Register