Tesla to buy Mich. stamped-parts supplier