Germans have trade unions all over the place and a commitment to lifelong employment. So they don't move the plant to South Carolina at 60% pay.
Germany has been an industrial powerhouse for a long time, and their focus on utterly owning niche markets has been a huge competitive force for many years. The euro helped, but the story doesn't stop there.