An important observation is that the probability of death drops very rapidly with drops in speed. A rough calculation shows that at 38 mph and a near instant reaction (as a robot should) would within ~1 second of applied breaking force, allow going from a ~70% chance of death to ~5%.
A very rough calculation: v(t) = -μgt + v_0. To reach 32 kph or 20 mph, t ~= 0.82/μ, guessing a fair μ=0.8 and the chart here https://ec.europa.eu/transport/road_safety/specialist/knowle...