Ex Machina, a suspenseful new film about artificial intelligence, is disturbing for all the right reasons.