I don't think there was ever a time where every office worker had their own office. Only the big boss got their own office and everyone else had desks in a large room. The open floor plan we have now is pretty typical of what they used to look like.
Here's a good example:
https://www.officemuseum.com/1935_Auditor_of_Overcharge_Clai...
More pictures: