Online retailer Amazon has spent the past two decades luring shoppers out of stores and onto the internet, leading a retail transformation that has left dead malls in its wake. Now the Seattle-based company is buying more of those empty shopping centers, converting them into warehouses for processing deliveries to consumer doorsteps.