Treasury Wine Estates has confirmed the departure of its CEO with immediate effect.