I don't believe my office is my family, but I expect to at least be treated with a baseline level of decency, civility, dignity, respect, and kindness, which are non-monetary and (by my reading of your post) unnecessary in your office full of Vulcans.
The fact that these things are seen as optional and unimportant explains a lot of what's happened to public discourse.
It's not a binary between "we are family" and "we are resources", it's a spectrum.
In your case, yes, you were absolutely a resource. This is exactly why companies of that size simply shouldn't exist - because they cannot not treat their employees as resources, with all the inhumanity this implies.