Getty

Tesla (TSLA - Get Report)  alleged that a former employee stole company data before switching jobs to work for a Chinese carmaker. 

Tesla is suing the engineer, Guangzhi Cao, for allegedly copying hundreds of thousands of files of Autopilot source code data, according to a suit Tesla filed with a California court on Thursday, Reuters reported.

Cao recently switched jobs to work for Chinese automaker Xiaopeng Motors Technology Co., which is in direct competition with Tesla's China business. Tesla is working to build a plant in Shanghai. Cao serves as head of perception at Xiaopeng. 

Tesla also filed suit against four former employees and American self-driving car start-up Zoox. Tesla alleges those parties stole proprietary information and trade secrets for developing warehousing, logistics and inventory control operations, Reuters reported.

Tesla shares were down 0.71% to $271.66 on Thursday. The stock has declined 12.5% year to date. 

How Much Money Will I Need to Retire?

Want to learn about retirement planning from some of the nation's top experts? Join TheStreet's Robert "Mr. Retirement" Powell live in New York on April 6 for our Retirement Strategies Symposium. For a limited time, tickets are available for $99 for this full-day event. Check out the agenda, learn about the speakers and sign up here.