If those office layouts don't appeal to you, it's because those companies don't want to recruit you.
Deep-pocketed companies like Facebook (who surely have enough money to build any kind of office space) choose to build open layouts as a signal. They want to attract a certain kind of developer, and they probably have a platoon of operations researchers telling them they need to arrange their offices like this to get them.
If you like quiet private offices then you will not work at Facebook. But that's okay because Facebook doesn't want you anyway.
Most companies (the ones who lease space, anyway) are at the mercy of the commercial real estate agencies they rent from. They don't always have the money to raze the whole space they rent and build a developer's utopia in its place.
I was referring specifically to companies who have the money to build any kind of office space, and choose to build sardine cans with arcades.
Deep-pocketed companies like Facebook (who surely have enough money to build any kind of office space) choose to build open layouts as a signal. They want to attract a certain kind of developer, and they probably have a platoon of operations researchers telling them they need to arrange their offices like this to get them.
If you like quiet private offices then you will not work at Facebook. But that's okay because Facebook doesn't want you anyway.