Now playing
01:24
This tiny electric car is made for the city
PHOTO: Natalia V. Osipova
Now playing
02:28
Review: The Ghost is more modest and simple, but it's still a Rolls-Royce
PHOTO: BMW
Now playing
03:04
This Mini Cooper is built to race. No, really
The 2021 Jeep® Wrangler Rubicon 392
The 2021 Jeep® Wrangler Rubicon 392
PHOTO: FCA US LLC
Now playing
01:11
See Jeep's most powerful Wrangler ever
PHOTO: Volkswagen
Now playing
00:50
See the Golf R, VW's most powerful Golf ever
PHOTO: JAMES LIPMAN/ SSC North America
Now playing
01:32
Watch this production car break world speed record
PHOTO: Peter Valdes-Dapena/CNN
Now playing
01:01
This is Volkswagen's first electric SUV
PHOTO: Ferrari
Now playing
01:39
Ride along in the latest Ferrari convertible
Nissan Z concept car.
Nissan Z concept car.
PHOTO: Nissan
Now playing
00:54
Nissan gives a glimpse of its first Z car in more than a decade
Now playing
01:06
This new electric car has over 1,000 horsepower
PHOTO: Daniele Iannoccari/Maserati
Now playing
00:51
See Maserati's first supercar in over a decade
Now playing
01:45
This $1.7M RV lets you go off the grid
PHOTO: FCA US LLC
Now playing
01:33
Jeep is reviving a classic. See the new Grand Wagoneer
2021 Ram 1500 TRX front 3/4.
2021 Ram 1500 TRX front 3/4.
PHOTO: FCA US LLC
Now playing
00:57
See Ram's 702hp pickup that's taking on the Ford Raptor
PHOTO: General Motors
Now playing
01:00
Check out Lyriq, the first fully-electric Cadillac
Now playing
01:28
You can't drive this new Lamborghini supercar down your street
(CNN Business) —  

Hyundai does not intend to be left behind in the high-stakes race to build mass-market electric and self-driving cars.

South Korea’s largest car company said Tuesday that it plans to invest 41 trillion won ($35 billion) into “future mobility technology” by 2025.

That massive pledge puts it on par with some of the industry’s top players. Volkswagen (VLKAF) is spending €30 billion ($34 billion) over the next five years to make an electric or hybrid version of every vehicle in its lineup.

Hyundai (HYMTF) said Tuesday it plans to release 23 kinds of electric vehicles by 2025. That would make up roughly half of its new lineup.

The automaker has a powerful partner in its efforts to transform its business. The announcement was backed by a pledge from South Korea’s government to spend 2.2 trillion won ($1.9 billion) on innovative auto technology.

“Our goal is to become the number one country for future car competitiveness by 2030,” President Moon Jae-in said Tuesday, speaking at a Hyundai research center.

South Korea will “be the first in the world to commercialize autonomous driving,” and a third of the cars on the country’s roads in the next decade should be electric or hydrogen-powered, he added.

The race to get fully autonomous cars on the roads is underway globally, and carmakers are under pressure to either get on board or risk getting left behind.

Japan’s SoftBank (SFTBF) has invested billions in partnerships with Toyota (TM) and GM (GM) to help develop driverless cars. Ford (F) and Baidu (BIDU) have teamed up to develop self-driving cars in China. And Volkswagen (VLKAF) started testing electric cars fitted with autonomous technology on a section of Hamburg’s streets.

But the effort is also expensive, eating into carmakers’ profits at a time when auto sales are dwindling globally.

— Sophie Jeong contributed reporting.