Alibaba (NYSE:BABA) has ambitious plans. Earlier this year, founder Jack Ma compared the company to sovereign nations by noting that the e-commerce giant’s goal is to become the fifth largest economy in the world by 2036. By then, Ma expects that Alibaba will have created 100 million jobs and support 10 million businesses on its platform.

While investors may not fully share Ma’s vision, Alibaba has a powerful investment thesis. First, the company and its enigmatic founder are reminiscent of, arguably the most disruptive company ever. Second, Alibaba’s home market is China, a country of over 1.2 billion people that’s estimated to eclipse the United States and become the largest economy before 2030. Both demographically and operationally, the company seems destined for success.

Recently, the high-flying e-commerce platform did something unconventional to continue its torrid growth and to fend off current retail megaretailer Wal-Mart (NYSE:WMT): It went into the boring grocery industry, and through the traditional brick-and-mortar channel, no less.

Alibaba goes grocery shopping, literally

Alibaba announced that it has a $2.9 billion stake in Sun Art Retail Group, good for a 36% share of the company. Sun Art has roughly 400 hypermarkets, a retail concept that carries both groceries and traditional department-store goods reminiscent of Wal-Mart’s Supercenters.

According to a report from Bain & Company and Kantar Worldpanel, hypermarket stores have recently shown signs of strain. For fast-moving consumer goods (FMCG), hypermarkets account for 20.9% of total sales — down from 24.1% in 2012 because of an annualized growth rate of 1.1%, which is lower than the overall FMCG growth rate. Meanwhile, e-commerce has grown from 2.1% to 7% of total FMCG sales, because of 40.8% annualized growth from 2012 to 2016.

However, what this gives Alibaba are tremendous synergies and the ability to create an omnichannel experience, much as Wal-Mart has done with its grocery pickup service and as Amazon appears to be building with its purchase of Whole Foods Market.

Wal-Mart already has an online grocery presence

While Alibaba is looking for a way to integrate its online platform with its new grocery business, Wal-Mart is already there through its partnership with Chinese retailer During the company’s third-quarter earnings call, CEO Doug McMillon noted (emphasis mine)

After the quarter, Wal-Mart further aligned itself with, with my colleague Leo Sun reporting that the two allowed members to receive the same discounts and benefits in time for the important Singles Day.

China’s not a winner-take-all market

Even if Alibaba is able to steal market share away from Wal-Mart, China’s demographics are supportive of both retailers. In 2016, China’s National Bureau of Statistics reported that retail sales increased 9.6%. However, online sales surged 26.2% year on year. At that time, only 53.1% of China was online. Look for both Wal-Mart and Alibaba to continue to post strong growth in the Middle Kingdom as more people come online and the middle class continues to expand.

Tom Gardner: Forget Wal-Mart Stores! This buying opportunity is bigger than I ever imagined…

A few months ago, Motley Fool CEO Tom Gardner recently discovered what he considers the greatest buying opportunity he’s seen in more than a decade… within a group of stocks no one is talking aboutOn Monday, November 27, at 9:30 A.M. ET, Tom is making an important announcement where he will discuss this buying opportunity and how it potentially impacts any investor in the market today.