The former CEO of Google said the tech company decided that work-life balance is “more important than winning.”