I think Walmart is making an honest investment in tech. They have some solid open source tools (Hapi.js, Electrode) and they have Walmart Labs / Kosmix.
Now potentially acquiring tiktok.
Walmart also purchased Jet.com and Bonobos. They're catching up to Amazon, and even beating them in some ways (their pickup/delivery service has way more inventory than AmazonFresh).