Ehh, I'm not sure I would agree with that. Sure, for the most part the really successful ones pivot to become something else (typically to become politicians, media personalities, and/or CEOs), but their original profession remains a core part of their identity.
Off the top of my head, most people (older than 25, say) know who Johnnie Cochran was. Ben Carson was pretty famous even before he entered politics.
And despite whatever he is now, Zuckerberg is still pretty much the poster boy for programmer-turned-CEO. Heh, there's an entire movie about what a star programmer he was.