Battery champion became a symbol of Europe’s ambitions and then its failings on its way to Chapter 11 proceedings