Most of us develop a bit of the latter. I have worked for a bunch of questionable companies that kind of go against my values, but deep down I'm a bit of a whore and whether or not I keep to these principles isn't likely to make a huge difference, so I just shut up and cash my paychecks [1].
I would like to think if I became a billionaire, I'd maintain my empathy and would keep my principles because at that point I actually could do something, but I probably wouldn't be able to become a billionaire if I maintained my principles and empathy. Sort of a catch 22, which is why I probably won't be worth any significant amount of money unless there's some kind of Mr Deeds situation and I have a long lost billionaire uncle that I don't know about who dies.
I don't think Tim Cook or Sam Altman are pure sociopaths in any kind of clinical sense. The vast majority of people aren't. I think that they actively taught themselves to value their respective companies instead of fellow humans.
That, and the last two years of layoffs in these tech corporations has shown me that these people are extremely short-sighted.
[1] Well, if I weren't unemployed :)