Report: USAF experimental drone simulation AI turned on human operator

Will Smith movie, wasn't it? I think I kind of remember watching it.
iRobot was Wills movie.

Just saw it over weekend too lol. The AI that controls the robots says humans were destroying the world so it figured in order to save the world, humans had to be eliminated. It figured It knew better basically.