The analogy is flawed.
He did not write a piece of software, he wrote a piece of rhetoric which had very little to do with reality and had a lot to do with making people dislike Google and its policies.
I also write a lot of rhetoric designed to do that. The difference is I'm not a Google employee. Were I, I would fully expect to be fired, regardless of what I did with that writing (except perhaps leave it unreleased on my home computer, or write it to /dev/null).