I though most I.T. people have long hair, especially in Silicon Valley. Doesn't look like a forced policy, but more of a convenience service.
Reading between the lines, it's to encourage them to spend more time at work.
I live in Silicon Valley and when I was in high-tech, the company I worked for never had any perks like that [wouldn't use it even if they did]. IMHO, only the big companies who are doing very well, ie. Google, would offer perks like those mentioned in the article.
--Rick, in 'Sillycorn Valley'