Why you shouldn’t let the super-intelligent machines in ‘Ex Machina’ and ‘The Avengers’ freak you out