The return to office is a reversal of the tech giant's remote work policies that were introduced during the coronavirus pandemic.