The full episode. A real story, told in plain words, with flat cartoon scenes and a calm voiceover. Guangzhi Cao was one of forty people at Tesla allowed to touch the Autopilot code. He copied it to his own iCloud account, then went to work for the rival. This is how it happened, from the court complaint and the settlement.
Narrator: This is Cao. And Cao had two jobs. Job one, he’s an engineer at Tesla, on the team building Autopilot, the software that drives the car itself. Job two, he’s about to do the same work for Xpeng, a Chinese rival racing to build the same thing. Tesla only knows about the first one.
Second voice: Three hundred thousand files.
Narrator: For two years, Cao carried Tesla’s most secret code out of job one and into job two. More than three hundred thousand files. He didn’t need a mask. He used his own login. So why did Tesla hire the man who stole its crown jewel? And how did he rob it with copy and paste?
Narrator: First, you have to understand what he took. Autopilot is not a feature. It is a brain. A brain that learned to drive the way you did. By watching. Think of it as a student driver. A normal student learns from one teacher, in one car. Tesla’s student learns from half a million cars at once. Every Tesla on the road is a teacher. Every mile it drives is a lesson. In October 2015, Tesla switched it on. Overnight, cars that were already on the road could steer themselves down a highway. And every mile they drove, the brain got a little smarter. Even when Autopilot was off, the car was still watching. Tesla calls that shadow mode. The student never stops studying. The car does not learn on its own. The day’s driving goes back to Tesla, and the computers comb through it, looking for the moments the car got wrong. Then the fix goes out to every car at once. One billion miles was the number Musk wanted before he would take the word beta off Autosteer. By November 2018, Tesla’s cars had driven one billion miles with Autopilot on. One billion. That is more than four thousand trips to the moon. Its biggest rival had driven ten million. And the brain keeps score. To get a car approved to drive itself, Tesla’s own plan said it would need about six billion miles. By 2020, the fleet was learning at three million miles a day. That is why the code matters. It is not lines on a screen. It is a billion miles of driving, compressed into software. Tesla calls it a crown jewel of its intellectual property. And only a handful of people are allowed to touch it.
Narrator: Cao was one of them. A computer vision scientist, on the neural network team. His job was to teach the car to see. Not the road. The car already knew the road. He taught it to see the things on it. The lane lines. The brake lights. The cyclist in the dark. He doesn’t build the car. He builds the eyes. His team worked on the neural network. The part that looks at the world through the car’s cameras, and decides what it is seeing. A person. A lane. A stop sign.
Second voice: Forty of forty-five thousand.
Narrator: Out of forty-five thousand people at Tesla, only forty could open the Autopilot code. Cao was one of the forty. That is how much Tesla trusted him. So why did Tesla hire the man who stole its crown jewel? It didn’t. It hired a good engineer, and it gave him the keys, because the job can’t be done without them. But by November 2018, Cao was looking for a new job. And somewhere across the Pacific, a company that wanted to build the same brain was looking for him.
Narrator: This is how you steal a billion miles of driving. You don’t break in. You open the file. You copy it. You paste it somewhere else. Then you do it again. Three hundred thousand times.
Second voice: Three hundred thousand files.
Narrator: Between March and December 2018, Cao backed up entire repositories to his own iCloud account. Not one folder. Three. The firmware. The Autopilot code. The neural net. Everything he had access to. More than three hundred thousand files and directories. And here is the trick. A backup is not a theft. Not to a computer. The alarm never fires, because nothing is missing. The original is still there. He just made a second one. At home. He did it slowly. A little at a time. Nine months of backups, from March to December. Then, between the second and the thirteenth of November, he made it smaller. He zipped the whole thing. Tesla’s own words: making it smaller, and easier to move. A billion miles of driving, squeezed into files you could carry in your pocket.
Narrator: On the twelfth of December, the offer arrived. In writing. XMotors, the American arm of Xpeng, wanted him. Xpeng was founded in 2014, in Guangzhou, to build the same thing Tesla was building. A smart electric car that drives itself. The company is named after its chairman, He Xiaopeng. A man who got rich building a web browser, then decided to build cars. Tesla says Xpeng built its cars by imitating Tesla. Its design, its technology, even its business model. That is Tesla’s allegation. Xpeng says it built everything itself. It even offered its own code to a neutral third party, to prove nothing was copied. Cao’s new job was camera perception. The eyes, again. The same work, for the rival. He had the code. He had the offer. All he had to do was leave. And Tesla had no idea. The man with the keys to the crown jewel was already out the door. He just hadn’t told them yet.
Narrator: December 2018. The month everything changed. Cao deleted more than a hundred and twenty thousand files. Then, on the twenty-sixth of December, he logged out of his iCloud account, and disconnected it from his Tesla computer. Two weeks after the offer arrived, he pulled the plug. By the fourth of January, he had cleared all of his browser history. Every search. Every page. Gone. Cao would later say he was trying to delete it all. That keeping the code was a mistake, and he meant to erase it. Tesla would say he kept it on purpose. Two stories. One delete button. But a delete button is not an eraser. Tesla could see what was gone. And what was gone told them everything.
Narrator: On the third of January, 2019, Cao announced he was quitting. The next day was his last. And the day after that, he started at XMotors.
Second voice: One day later.
Narrator: Two months later, Tesla sued him. Not just him. The day before, Tesla had sued four other former employees, and a company called Zoox, for the same thing. Tesla was not guessing. It was cleaning house. The lawsuit landed on the twenty-first of March, 2019. A federal court in California. Tesla accused him of stealing trade secrets, breaking his contract, and breaking his duty of loyalty. The law it used was written for spies. And the man at the centre of it was already gone. New job. New office. New badge. Same code, in his pocket.
Narrator: Four months later, Cao admitted it. In a court filing, on the eighth of July, 2019, he admitted he had uploaded Tesla’s Autopilot code to his own iCloud account. He argued about the number. He denied it was theft. But the upload, he admitted. The case dragged on. In April 2020, Xpeng called Tesla a bully. A month later, a judge ordered Xpeng to hand over its own source code, so the two could be compared. Then the case stalled, for almost a year. Tesla wanted grand jury papers from another case, about an Apple engineer who had also left for Xpeng. The court said no. And the settlement came on the very last day Tesla could ask the judge to decide the case without a trial. When it ended, the case was dismissed with prejudice. It can never come back. And by then, Xpeng was a public company, listed on the New York Stock Exchange. And then, on the sixteenth of April, 2021, it ended. Not with a trial. With a settlement. Cao apologised. He admitted he uploaded the code. And he paid Tesla. How much, nobody knows. The number is secret.
Second voice: Not a single file.
Narrator: And Xpeng? Tesla never showed that Xpeng had a single file of Tesla’s code. Xpeng was never even a defendant. The case was against one man, and one iCloud account.
Narrator: Cao started this story with two jobs. Now he has none. He has since left Xpeng too. And while you watched this video, Tesla’s cars drove about twenty thousand miles on Autopilot. The student never stops studying. So why did Tesla hire the man who stole its crown jewel? It didn’t. It hired a good engineer, and handed him the keys.