Role of AI and Robots in Warfare