If you want to extend a WiFi network over a few miles, you may be interested in Ubiquiti's radios [0]. These (and similar form factor radios from other manufacturers) are pretty common on rooftops for fixed point-to-point connectivity between sites. Only costs a few hundred bucks per station, depending on your range and bandwidth needs. My school district had them to connect all the schools (a few blocks apart from each other) rather than burying fiber. The other big use case is rural wireless ISPs, connecting farms to each other and eventually a POP with a wired internet connection.
They are point to point links though, things get a lot more complicated if your stations are mobile.
[0] https://www.ubnt.com/products/#default