Software, as commonly distributed nowadays, is not a physical item. You are leasing the right to use it. You can’t copy it legally, whether you lease or buy.
If these “refilling” companies were buying one cartridge and making physical copies, they would be at the losing end of this one.
There are other differences as well. e.g. software does not “run out” as you use it.
It's more similar if you're talking about a physical object, like a CD. If I purchase a copy of Windows (why? I don't know), I should be able to sell the disk to someone else without any issues.