The other type of CEO is one who joins after founding. Their compensation depends on providing tangible measurable growth for the company. Driving 5% additional revenue for a company like google is worth billions, so their pay is considerate with the value they provide. It’s been shown in research that a good CEO can make or break a company.
You say you deliver tons of value but you don’t explain why your pay is high as a technical worker. It’s high because the market is tight and there aren’t enough skilled technical workers. There’s plenty of other industries like biotech where they deliver significant value but don’t get paid as much as software. Same goes for CEO’s it’s an important position and there aren’t that many people that can do the job.
I don't disagree that starting a company comes with risks and a personal investment that warrants increased compensation - but right now CEOs in the US make an average of 670x their employees... that is extreme.
I think the modern world has come to view low level employees as replaceable and thus the compensation is more focused on market pricing instead of individual value creation - but with CEOs that 670x is usually justified with how important the decisions they are making are but founders and CEOs are just as replaceable as anyone else.