Manchester United booked their place in the UEFA Champions League knockout stages thanks to a 5-0 demolition of Bayer Leverkusen in Germany.