Munich public prosecutor Gabriele Tilmann told reporters that the suspect had said "Allahu Akbar" (God is greatest) in Arabic when he was detained and she described the attack as "Islamist motivated".