A man injured four people with a knife in the German city of Munich on Saturday and police detained a suspect matching descriptions by witnesses.