The German police detained an Afghan seeking asylum after a car crashed into Munich, left at least 28 people injured.