I was recently wondering why new cars don't come with factory fitted dashcams. Perhaps a law should mandate their inclusion, along with other data logging mechanisms.
Tesla does. Stick a usb stick in my model 3 and it uses the storage to record off the cameras. They just added a mode to record video when the car is “threatened” while parked.