SHANGHAI, April 28 (Reuters) - Tesla CEO Elon Musk was on a flight heading to Beijing on Sunday to kick off a surprise trip in the electric vehicle maker's second-biggest market, according to two people with knowledge of the matter.

Musk is seeking to meet senior Chinese officials in Beijing to discuss the rollout of Full-Self Driving (FSD) software in China and to obtain approval to transfer data collected in the country abroad to train algorithms for its autonomous driving technologies, one of the people said. (Reporting by Zhang Yan and Brenda Goh; Editing by Jamie Freed)