Work from home also allowed for more schedule flexibility - it's hard to run an errand, pick the kids up from school, etc. when that's a 15 minute trip, rather than having to commute back home. This burden often falls disproportionately on women, and workers with families (who are likely slightly older than those who don't).
Removing the constraint of "You have to have the capital to move to SV to work here" allows hiring from a broader and more diverse pool of groups with less generational wealth, which means likely a more diverse body of job candidates.
Whether you agree with this or not, there is a logic behind it. Heck, I think they actually missed a couple axes of workers Apple is going to miss out on.