I read that Google Maps uses any sensors that are available on your phone to track your movements, not just location.
So it should be pretty easy to determine the difference between traveling by motorcycle or by car from the differences in acceleration and braking, vibration, and perhaps even engine/wind/road noise (though the latter is kind of scary if so).