In Germany public-transport services have been reduced owing to a lack of bus and train drivers.