How Europe’s battery champion descended into crisis