E-commerce titan Amazon on Wednesday confirmed plans to close its bricks-and-mortar bookstores and pop-up shops in order to focus on the Whole Foods grocery chain and retail outlets featuring its latest auto-checkout technology.