The Volkswagen brand produced more than six million vehicles in 2017, setting a new record.