He was dismissed from his position at Tesla by Elon Musk.