The retail model is in retreat. But that doesn’t mean it — or its billions in sales — will disappear any time soon.