The grid is not the only way. Homes and factories can be off grid by generating their own power. This just has never been a priority for anyone because it requires investments. For homes in particular the government has done very very little to work on this and has failed in driving down the price to make it affordable.