A driver has been arrested after a car rammed into a group of people at a busy Christmas market in Germany, killing five people and injuring dozens more.