Equipment for forging and impact extrusion