As more investment goes to research, Germans are confronting the idea that manufacturing may not be their economy’s indispensable foundation.