This is basically the original concept of 'Short Circuit'...
...before they decided to change it from a thriller to a comedy - only with a plane instead of a robot.
Military AI gets hit by lightening, becomes self-aware, & goes on a rampage.
To hate another simply for proving you to be in the wrong is the lowest form of cowardice...