The online retailer's closure follows a series of layoffs and ownership changes, marking a steep fall from its peak valuation of $9 billion.