Investors are reading balance sheets, not HN comments. Look at Google's stock price since Pichai took over and you will understand how he still has a job.
And look at how much MS has changed since they got an innovative CEO in his place.
Hopefully Sundar is shown the door and the reins are given to someone else actually willing to innovate. And the share price will skyrocket like it has with MS.
MSFT when Ballmer was replaced in 2014 – $40
GOOG when Sundar became CEO in 2015 – $30
GOOG today – $137
The situations aren't exactly comparable.
It seems reasonable to hold them to a higher standard if you think they have more potential.