Apple worked on a self-driving car for over a decade before cancelling Project Titan in February 2024.