Automatic lid-making production line