(Reuters) - Electric car maker Tesla Inc said on Tuesday it agreed to buy privately held Perbix Machine Co Inc, which designs automated manufacturing equipment.