The obvious answer is to do away with the need for a grid. Each building or group of buildings can generate their own power and be self sufficient. Ah but then there's no money for the big players.
There's a group of academics from S.America, Canada and Europe working together to raise funds to do just this but for remote communities, my wife's involved with them and they're very optimistic about their prospects.
And yet over here Amazon (for example) build massive warehouses and don't put panels on the roofs, out of the way and largely out of site. Instead there are plans to take yet another 3000 acres of prime agricultural land out of producing things we can eat and cover it in solar panels. But that's not the end of it, because the panels will be planted in Lincolnshire farmland that doesn't need the energy there needs to be high voltage cables and pylons built to take the energy where it's needed, down south. Madness.
Most of Lincolnshire is prime agricultural land along with the bit below it Cambridgeshire, Norfolk and Suffolk is the bread basket of Britain. The current world record for wheat yields was set in Lincolnshire.