Nvidia's role as a chip designer is advantageous in today's environment.
The bulk of Meta Platforms' revenue comes from its digital ad business, not power-hungry data centers.
Rising oil prices affect almost every business sector, but they can be particularly scary for artificial intelligence (AI). Processes such as chip manufacturing and the operation of data centers demand a tremendous amount of energy. Even though such entities do not typically operate directly from oil, the demand they place on the energy infrastructure could send production costs soaring.
No AI stock is completely immune from the need for energy, but some parts of the AI sector demand relatively little of it, and these companies could offer some protection for investors.
Will AI create the world's first trillionaire? Our team just released a report on the one little-known company, called an "Indispensable Monopoly" providing the critical technology Nvidia and Intel both need. Continue »
Image source: Getty Images.
Nvidia (NASDAQ: NVDA) may not appear to be a safe company in the current environment. After all, its AI accelerators (a dominant source of revenue) help power data centers that require a lot of energy to operate. And oil gets refined into the plastics used in the products and packaging of many Nvidia products.
But the oil price hikes are likely to have a more indirect effect on Nvidia. After all, Nvidia is a chip design company. Many of its advanced chips are actually produced by Taiwan Semiconductor Manufacturing, which will be the one dealing with rising production costs more directly. Moreover, the demand for Nvidia's AI accelerators is such that it cannot keep up, and chip prices have continued to rise. This makes it more likely that it will sell its inventory in almost any production cost environment and it should have the pricing power to pass along costs to its clients.
In fiscal 2026 (ended Jan. 25), the $216 billion in revenue it generated rose 65% year over year. That demand is also on track to remain strong for the foreseeable future. Analysts forecast 70% revenue growth in fiscal 2027 before it slows to 27% the next year.
And even if that revenue increase slows, investors might be forgiving when considering a 37 price-to-earnings (P/E) ratio and a 22 forward earnings multiple. With such valuations, even those who are risk-averse should feel safe putting their money into this chip leader.
Like Nvidia, the advantage of Meta Platforms (NASDAQ: META) might not seem obvious given the recent developments. As the company works to become a leader in AI, it has gone on a data center building binge, which will make its energy needs exponentially higher.
However, that is more the long-term plan for the Facebook parent. Several years from now, the world's energy situation could be dramatically different, which buys the company some time to manage the rising cost.
Looking at the present Meta Platforms, its energy needs appear tame, at least when considering that almost 3.6 billion people log on to at least one of its apps every day. For now, it is almost exclusively a digital advertising company.
In 2025, it generated almost $201 billion in revenue, a 22% increase compared to 2024. Of that $201 billion, over $196 billion, or 98%, came from digital advertising. Also, since analysts forecast a 25% revenue increase for 2026, the heavy reliance on digital ads is unlikely to change quickly.
Ultimately, at a P/E ratio of 27 and a forward P/E of 21, Meta investors are less likely to sell the bump in energy prices. That valuation should also give the stock some downside protection as AI becomes a more significant revenue source.
Before you buy stock in Nvidia, consider this:
The Motley Fool Stock Advisor analyst team just identified what they believe are the 10 best stocks for investors to buy now… and Nvidia wasn’t one of them. The 10 stocks that made the cut could produce monster returns in the coming years.
Consider when Netflix made this list on December 17, 2004... if you invested $1,000 at the time of our recommendation, you’d have $494,747!* Or when Nvidia made this list on April 15, 2005... if you invested $1,000 at the time of our recommendation, you’d have $1,094,668!*
Now, it’s worth noting Stock Advisor’s total average return is 911% — a market-crushing outperformance compared to 186% for the S&P 500. Don't miss the latest top 10 list, available with Stock Advisor, and join an investing community built by individual investors for individual investors.
See the 10 stocks »
*Stock Advisor returns as of March 20, 2026.
Will Healy has no position in any of the stocks mentioned. The Motley Fool has positions in and recommends Meta Platforms, Nvidia, and Taiwan Semiconductor Manufacturing. The Motley Fool has a disclosure policy.