An attacker shouting “Allahu akbar” stabbed a Belgian policeman several times in the neck in central Brussels on Tuesday, prosecutors said.