They provide rentable office space for companies that need office space. What alternative are you suggesting? Companies build their own offices? Builders retain ownership and become landlords? The banks become landlords? Companies just don't have offices?