The German government will provide a loan of 150 million euros to Air Berlin, which is filing for bankruptcy protection after its main shareholder, Etihad, said it would make no more financing available.