Alphabet Inc.’s Google announced a series of moves to offer employees more workplace flexibility, allowing a fifth of its staff to work from home permanently and another fifth of workers to shift to a different geographic location.