Software is by no means immune to what you list. Indeed, as Hubris is one of the Three Virtues of a Programmer, you definitely find it. That said, I think (my opinion) that you'll find more devs/admins that are PROUD to be indispensable than you will devs/admins that SEEK to become indispensable.
Both cases are ignoring what you point out: having a indispensable person is a bad thing for the long term health of your business. But one case (pride) is just mistaking doing a lot of essential work as not also creating a problem, while the other (seeking it) is less forgivable. And of course, there's a third, much worse option ("spaghetti code is job security") that doesn't rely on good work at all.
I've known a lot of devs that were close to indispensible and trying to fix it, fewer devs that were indispensable and proud of it, and only one or two that did crappy work so that they became more vital. A fair number of all of these devs were "responsible" for becoming indispensable simply by improving things to the point that their improvements became essential...and no one else had the skills/knowledge to easily replace them.
But of course, my experiences are subjective.