Israel and Ukraine have used drones against their adversaries in audacious ways that have helped the Pentagon see the need for new technology.