Regulating a car to spy and make actions based on that spying is not a valid regulation outside of a nightmare.
And no it is not the government's role is to protect people from harm, this is "think of the children" sort of shit that leads to bad law. Ether we are responsible for our actions or are under control. I don't want to share the road with these new vehicles but apparently have no say, this nonsense is why we all get to live in clown world.
The single greatest safety invention in automobiles by reduced death and injury was the collapsible steering column, everything since has had diminishing returns. In the last 10 years we have seen auto accidents increase (lots of pedestrian strikes) due to stupid new vehicle design. Yet we don't see the demand that new stuff is pulled from the road, instead we see the demand for new rules putting more bad ideas in. This is and never had been about safety.