Elon Musk thanked his CFO for his years of service, helping put Tesla on the profitable track.