Treasury Wine Estates has said a decision to close one of its wineries in South Australia has been "tough, but necessary".