I'll preface this by saying that I don't really believe in using medications on my fish, aside from dewormers if needed. Other than that I like to think that proper tank maintenance consistently and frequent large water changes if something goes wrong is all they ever really need.
I think the answer to this is relative and also applies to pretty much any other animal. Someone who can spare $20 might not blink at spedning it on some meds, but someone who can't isn't going to do it - or at least would only do it in certain occasions.
Personally, I'm attached most to my bettas. They have individual personalities and are the most interactive of my fish. I can't think of a length I wouldn't go to to save them if something were to happen that I could cure through medication or other means of intervention.
I have my community tank and I am attached to it on a whole, but not really to any specific fish. I have a school of Harlequin Rasboras and a school of Otocinclus and if a single one gets sick, I may not do much about it. But if the whole tank were to be effected by something, I'd definitely do whatever I feasibly could to save them. But I would start with water changes and increased temps, adding tannins, and only then if that did not work, carefully select a medication to try if that does not work, that's that. I'd be really hesitant to start throwing in multiple medications and just praying for the best.
Then there's also the factor of how old the fish is/are, how much you spent on them in the first place, etc. People with expensive fish are more likely to shell out money for medications and such - but at the same time, they're also more likely to keep the water conditions pristine and prevent illness in the first place.
If you really think about it, think about all the money spent on the tank itself, the substrate, the plants, the decorations, driftwood, filter, lights, heater, etc...the fish are, for most common hobbyists, the least expensive part. I'd have to replace all of the fish in my community tank a few times over before they ever cost me more than their set up, lol.