The chairman of Toyota (TM) just took a shot at Tesla (TSLA) .

Takeshi Uchiyamada, the chairman of Toyota Motor Corp, has criticized Elon Musk's electric automaker company, saying that mass battery production in cars is not ready and that Tesla should not be viewed as a role model.

"Battery-powered cars with a long range are very expensive and it takes a long time to charge them," Takeshi Uchiyamada told German publication Der Spiegel, first reported by Reuters. "Such cars do not fit in our program."

"Tesla is not our enemy and not our role model," Uchiyamada said. "I think it's the German manufacturers that rather see Tesla as a competitor," Uchiyamada added.

He also stated that Toyota was developing a new solid-state battery, with the ability to harness more power and recharge more quickly than current standard models.

"This technology will be a big development step. But that will still take time. We expect mass production in four to five years."

His comments come as Tesla unveiled its first electric semi-trucks along with a new roadster.

Shares of Toyota were falling, while shares of Tesla were rising over 1.5% in afternoon trading on Friday. 

More of What's Trending on TheStreet:

Editors' pick: Originally published Nov. 17.

More from Stocks

First Horizon National: Why I Would Pass on This Regional Banking Stock

First Horizon National: Why I Would Pass on This Regional Banking Stock

Jim Cramer Breaks Down the Fed Hawkishness and the Fourth Industrial Revolution

Jim Cramer Breaks Down the Fed Hawkishness and the Fourth Industrial Revolution

Jim Cramer Unveils the 10 Best Stocks for a Market Pullback

Jim Cramer Unveils the 10 Best Stocks for a Market Pullback

Veeva Systems: Strong Fundamentals but Weakening Technicals

Veeva Systems: Strong Fundamentals but Weakening Technicals

Dow Takes Sharp Turn Lower on Rates Fears, Tech Shares Sink

Dow Takes Sharp Turn Lower on Rates Fears, Tech Shares Sink