General Motors and Amazon are in talks about investing in electric-vehicle-maker Rivian Automotive, which has a manufacturing plant in central Illinois, in a deal valuing the startup at $1 billion to $2 billion, said people familiar with the matter.

The Plymouth, Michigan-based startup is working on an electric pickup and SUV that would be built at its plant in Normal. Concept versions of the vehicles debuted at the Los Angeles Auto Show in November. Talks are progressing, and a deal could be announced as soon as Friday, said one of the people, who asked not to be identified because the negotiations are private.

Trucks and SUVs are gas-guzzling cash cows for Detroit automakers. An investment in Rivian could help GM get an electric pickup to market faster and help ward off upstarts such as Tesla. For Amazon, investing in Rivian would signal an ambition to shift a portion of the massive vehicle fleet that delivers its packages to zero-emission vehicles.

“Rivian is being cast in the same light as Tesla, a startup that’s outside the inner circle of the auto industry, and that’s appealing to GM,” said Jeff Schuster, senior vice president of forecasting at researcher LMC Automotive. “GM could clearly do an electric pickup itself — it has the technology and a strong base of pickup buyers. But they don’t have Rivian’s image and separation.”

GM has dropped hints that a plug-in pickup could be a possibility. When asked at an investor conference in January whether the company will sell one, CEO Mary Barra replied to an analyst: “You’ll have to stay tuned.”

“We admire Rivian’s contribution to a future of zero emissions and an all-electric future,” Pat Morrissey, a GM spokesman, said in a statement. Representatives for Amazon and Rivian declined to comment.

Reuters reported the talks between the three companies Tuesday.

Like Tesla, Rivian acquired a vehicle assembly plant for a bargain from an established automaker. It bought the former Mitsubishi Motors plant for $16 million in early 2017. Tesla builds its electric cars at a facility shuttered by Toyota. after GM pulled out of a joint-manufacturing venture as part of its 2009 bankruptcy.

Rivian executives have said their R1T electric pickup will be able to reach 60 miles an hour in three seconds and tow 11,000 pounds. Deliveries are expected to start in 2020.

Parcel delivery is an ideal use for electric autos, as the vehicles can begin and end trips at designated charging points and take anxiety over battery range out of the equation.

Amazon is expanding its delivery capabilities through a network of independent contractors. Some drive their own vehicles, guided by an Amazon smartphone app. Others lease fleets of vans and hire teams of drivers.

“This gives Amazon the ability to jump into the automotive space,” Schuster said. “They’re probably thinking of delivery applications. And this gives them a safe entree.”

Amazon last year announced a delivery service partner program that encouraged entrepreneurs around the country to start their own businesses by hiring drivers and leasing vans to make deliveries. The company helps by securing discounts on van leases, insurance and other expenses and offers a steady stream of business.

In just a few months, Amazon had more than 100 new businesses around the country making deliveries on its behalf and continues to recruit for the partners program.

The rapid growth of Amazon’s e-commerce business has put pressure on the company to expand capacity and reduce its reliance on its delivery partners that include United Parcel Service, FedEx and the U.S. Postal Service.

Betting on Rivian would be Amazon’s second auto investment in short order. The company was among the participants in a $530 million funding round that self-driving startup Aurora Innovation announced this month.