The law put into place would be that the people who put autonomous cars on the road would risk their freedom and safety just as much as a driver if that car causes an accident through their neglect.
This will never happen, because the entire purpose of the corporate structure is to avoid responsibility.