Shoppers' changing habits are fueling a major shift in what types of businesses are occupying storefronts.