Ukrainian battlefield data will be used to train AI systems to help protect military sites and critical infrastructure.