Tesla Motors said today it will buy the German company Grohmann Engineering to improve its automated manufacturing systems.