Depending on the driver lots of different stuff happens. Some will drive around them, others get out and confront them etc.
I suspect an automated vehicle will just come to a stop an wait.