Ex Machina's ending reveals the hidden motivations of some key characters while leaving one main character's fate vague.