You're confusing the price tag of an FPV drone (for which this tech has no use, 4km precision is roughly the range of such drone, so even without a positioning device you'd get such a precision…) with the one of a long-range drone which is hundreds of magnitudes larger, even for Ukrainians.
You just need to plan your battery selection and consider the electronic warfare environment to go the distance.
There’s also the optical fiber drones which come in spool lengths up to 20km…
I suspect producing something called "a hacker's guide to ITAR" really would get you put on a list...