Police and states are figuring out how to punish driverless car companies like Waymo and Zoox when their cars break the law.