The Knightscope K5 robot was on patrol in a Mountain View parking lot when the incident occurred.