Apple has ended its secret plans of building a self-driving electric car, a decade-long effort that was seen as one of the most ambitious undertakings in the company’s history.

Apple executives on Tuesday informed teams working on the tech giant’s vehicle, called Project Titan internally, that hundreds of employees who worked on the car will be shifted to divisions working on artificial intelligence, according to multiple reports.

The push at Apple to build an autonomous vehicle is estimated to have cost the company billions of dollars, with around 2,000 employees working on the endeavor.

While some Apple employees are being moved to work on AI products, many others are expected to be laid off, though the exact number of workers affected remains unclear.