Retail giant Walmart has nearly doubled its stake in Chinese e-commerce retailer JD.com in a move that will likely allow it to grow e-commerce even faster in the country.