2017 was the year of retail’s existential reckoning