Unlock stock picks and a broker-level newsfeed that powers Wall Street.

Elon Musk hates hydrogen, but automakers are still investing in it — and for good reason
David Paul Morris | Bloomberg | Getty Images. Bernstein reiterates its market-perform rating for Tesla shares, telling investors to avoid buying it due to Model 3 production risk. · CNBC

Elon Musk is no fan of hydrogen fuel cell technology, but some of the world's major automakers still think it is a bet worth making.

The Tesla (NASDAQ: TSLA) CEO has called fuel cells "mind-bogglingly stupid," "incredibly dumb" and "fool cells."

Musk's complaint is that using hydrogen as a mechanism for storing energy would be less efficient (i.e., result in more electricity lost) than simply using electricity to charge batteries. Other critics have variously cited such things as costs, safety and the lack of supporting infrastructure, among other things.

But other automakers are saying fuel cells are a better bet than critics claim. Some of the world's largest automakers are leasing fuel cell cars to customers, committing to improve fueling infrastructure and showing off new models at the world's premier auto shows, even as they explore other alternatives to the gasoline engine.

Fuel cells have their own limitations, but they may be here to stay. And they may end up maintaining certain advantages over battery electrics, even as technology improves for both powertrains.

Toyota (Tokyo Stock Exchange: 7203.T-JP) unveiled the fuel cell powered Mirai in Japan in 2014. Honda (Tokyo Stock Exchange: 7267.T-JP) released the Clarity fuel cell car last year, based on an earlier concept vehicle. Hyundai's (Korea Stock Exchange: 538-KR) luxury Genesis brand unveiled a hydrogen fuel cell SUV at the New York Auto Show earlier this year. Meanwhile, Hyundai already offers a fuel cell version of its Tucson, and Mercedes (XETRA: DAI-DE) is launching a car this year that combines fuel cells with plug-in electric technology. Others are expected in the years to come.

In the short term, pure battery electrics are expected to outpace fuel cells, among non-gasoline engine cars. Battery electrics are forecast to be 4 percent of the total car market by 2025, from about 1 percent today, while fuel cells will only be 0.5 percent of the total market, according to IHS Automotive.

"Realistically, the electrification of vehicles is almost entirely built around lithium-ion electric in the next five to seven years," said Brett Smith of the Center for Automotive Research.

He added that the improvements in battery technology over the last several years has been impressive, exceeding many expectations. And Tesla in particular has shown what can be accomplished with a vision.

But he added: "I think the internal combustion engine is still a tough target." He said he is among those still skeptical that pure electrics will be able to displace it without a "revolution" in battery technology.