Tesla hires Snapchat exec to head engineering