Apple also tracks your GPS trace just like Google Maps does, the difference is they don't seem to share it with you.
Apple Maps employees use these "anonymized" GPS traces to correct roads, show business hours, find new points of interest that are unmapped, etc