The Duke and Duchess of Cambridge have been given a lesson in Land Rover off-roading during a tour of the all-terrain marque's flagship plant.