Return-to-office mandates at tech companies like Apple, Microsoft, and SpaceX have led to senior-level employees leaving the company, potentially affecting output, productivity, and innovation.