Amazon.com Inc. executives doubled the length of their summer Prime Day sale this year to give customers extra time to browse the vast selection of deals and discounts. There was a downside. With rising prices top of mind, shoppers surfed the web comparing deals, and a lot of their dollars went to Walmart Inc. instead.