Circumstances such as the recent widespread power outage in New York City, record-breaking storm events, and a plan by California’s biggest utility to cut power on high-wind days during wildfire season, are prompting a search for an alternative to the grid.