For many years, cars have been getting safer. First, the focus was largely on protecting the occupants with seatbelts, airbags and better resilience. Now, it is on making vehicles less likely to crash