Actually I can assure you Strava does have a check for this because I've been hit by it before when accidentally forgetting to stop the activity before loading up my bike and driving home. It flags the activity and forces you to edit your route to remove the offending section.
yes probably they've added something during the years, but on some segments at least here in Italy, there are some crazy times and speed, light years away from PRO numbers, so there's still some cheating going on