The death of a promising battery startup exposes harsh market realities