As retail casualties such as Sears or Toys 'R' Us kept piling up, costly real estate often got the blame for traditional retailers' struggle to keep up with e-commerce rivals.