The article in the link brought up a valid question, if you ask me. Generally beating Amazon is going to be very hard, if not impossible, but I think that WM has advantages in some markets and can prove to be a tough competitor to Amazon. One of them is, without a doubt the online grocery market, and that can be a segment in which the company can elevate itself as market leaders in a very short time, given that we play all the cards right.
https://www.fool.com/investing/2018/11/24/walmart-tests-same-day-grocery-deliveries-in-china.aspx