The military's use of AI will be critical to operate at the speed needed to react to cyber threats, Army leaders said.