Bloom Energy founder KR Sridhar aimed to supplant electric utilities with fuel-cell technology honed for NASA, presenting the kind of revenue prospects that persuade investors to look beyond profitability. Instead, his company is a reminder of how a rapidly changing industry can foil an entrepreneur’s vision.