Artificial Intelligence and the Security Dilemma