OVER the past few years, as venture capitalists poured money into solar companies and green technology start-ups, the mood in Silicon Valley resembled the sunny days of the dot-com boom in the late 1990s.