When a doll designed to be a child's companion turns into an uncontrollable nightmare, this horror film blends entertainment with thought-provoking ideas about AI.