Warned of a crash, startups in Silicon Valley narrow their focus