Shoppers, including young ones, are heading back to stores, which are being transformed by technology and personalization.