“M3GAN” has earned rave reviews for both its entertainment value and its narrative ambition, but it’s actually not the first movie that features a high-tech automaton that goes on a killing spree. Back in 1986, Wes Craven tried the same formula in the sci-fi horror “Deadly Friend,” but the critical and financial reception to his efforts was unfortunately not as kind.