Walmart, based in Bentonville, Arkansas, has been seeking to expand its business beyond brick-and-mortar retailing.