As more companies lean towards a hybrid setup, many are cutting back their headquarters and putting smaller offices close to where workers are.