Don’t some of these modern automobiles have a “black box” in them that monitor stuff like that? Speed at time of accident that can be used later in court? Is what I was told.
When the airbags go off the last 30 seconds of the monitored data is saved to a special section of memory in the car computer.