American startups are competing to bring electricity to communities that remain off the grid.