A century-old loft building has been retrofitted for tech workers with fancy pantries, bleacher seating for all-hands meetings and a library for Kindle readers where the only books are decorations on the wallpaper. In another part of Manhattan, Google is creating a vast campus with offices spread...