A mall in Silicon Valley this week suspended its security robots after a collision involving one of them resulted in a toddler getting a bruised leg—a reversal from children harassing robots at the mall.

The accident could reignite fears about evil robots that many robot makers have tried to overcome with cute designs.

The robot company, Knightscope...