Yann LeCun, an artificial intelligence pioneer who runs a research lab at Meta Platforms Inc., told employees that he will depart the social media giant at the end of the year and start a new company.