Meta's head of AI research to depart in May