Perhaps I should be more nuanced since few tech roles these days are entirely remote or entirely in-person -- many remote workers occasionally meet up in person and many in-person office workers occasionally work from home.
The rest of your post makes the case that there are downsides to working in an office. I agree, there are! (Though as a parent with young children who recently worked from home for a week to keep an eye on sick kids I'm amused by the implication that an office is noisier or has more interruptions than being at home.)
To be clear: Remote collaboration is perfectly satisfactory (or better!) for many tasks. And even those tasks where it is suboptimal it may still be a net positive because of the higher costs associated with in-person work, including but not limited to the ones you list.
However, it is worth honestly acknowledging that there are also benefits to working in person. It's up to each company to balance those costs and benefits, but my guess is that eventually some companies will be better off working (mostly) remotely, and others will continue to work (mostly) in-person.