Tesla has acquired German engineering firm Grohmann Engineering to form a new advanced automation segment of its business, producing manufacturing equipment for its factories in the US.