AI designed to mimic human interaction can exploit weaknesses in our minds and emotions—with catastrophic consequences.