The once high-flying payments firm Wirecard files for insolvency after a €1.9bn accounting scandal.