Walmart sold its entire roughly $3.7 billion stake in JD.com, ending an eight-year investment in the Chinese e-commerce firm that was yielding waning