Retailers from Gap to Ralph Lauren are giving up on their flagship stores — and experts say others will have to make big changes to keep the store model from dying