That's nowhere comparable. A sidewalk is ostensibly an area for pedestrians to be, whether in movement or stationary. It is not a road, and definitely not a robot road. If the robot is too stupid to navigate someone standing in an area designed for people to stand, that's not the person's fault.
You want a comparable situation? This is like you sitting on a public bench in a park, then I come up to you and demand you to move so I can sit. After you say no, I call the cops and they arrest you.