“The best minds of my generation are thinking about how to make people click ads,” Jeff Hammerbacher, an early Facebook engineer, told me. “That sucks.” Silicon Valley began to look an awful lot like Hollywood. Meanwhile, the consumers it served had turned inward, obsessed with their virtual lives.