Amazon is being pinpointed as the culprit of the decline of brick-and-mortar retail stores.