In 1987, Paul Verhoeven predicted exactly this in the original Robocop.

ED-209 mistakenly viewed a young man as armed, blows him away in the corporate boardroom.

The article even included an homage to:

“Dick, I’m very disappointed in you.”

“It’s just a small glitch.”