GPS wouldn’t be effective at all for drones dropping munitions on infantry moving around on the battlefield, nor on FPV drones trying to fly into moving tanks or other vehicles.
And how do you turn a drone away from an infrared beam of light that would damage the drones optics almost instantly? You’d have to spot the laser system from hundreds of yards away, recognize it’s aimed at your drone, and turn away before the laser is fired. And then what? Just avoid turning your drone back the way you want to go, hoping another strategically positioned laser you didn’t see doesnt fire from a different direction?