Hundreds of sewing machines once destined for scrap have found a second life in an unexpected place - a museum in Somerset.