Regulate Artificial Intelligence to Avert Cyber Arms Race