Vice Media Group, which was once valued at $5.7bn, is set to be sold but will keep operating.