Maybe the AI software needs to have one of Isaac Asimov’s laws of robotics programmed in: [Law One – “A robot may not injure a human being or, through inaction, allow a human being to come to harm.”]
They should program them to go up on the sidewalk to run over mimes.