That's less than 1% of Walmart's total sales. It's not a major loss for them. Especially when Amazon is offering many products at a much cheaper price-point.
I don't support either major retailer, I'm just providing context that within the given sales (and margin), it's barely a drop in the bucket to a problem for Walmart.