At least 30 people were hurt when a car driven by an Afghan asylum seeker ploughed into a crowd in Munich, putting security back in focus before next week's federal election.