Sure, but they are smart at the industries of the past. Will bureaucratic Germany be able to adapt? I don't think so. Take electric cars for instance. Much simpler than traditional cars. Will devastate the Mittelstand.
Electric cars are only marginally simpler than traditional cars. The body, interior, suspension, and infotainment system are all the same. Only the drive train changes. Building efficient battery packs, electric motors, and transmissions still requires a lot of precision machining and assembly work.