BERLIN—Mercedes-Benz’s oldest factory, which was built in the late 1800s, has deployed some of the most advanced ...