The problem with guilds is that they preserve the interests of who is already inside at the detriment of everybody else. They range from cool kids clubs to straight up mafia behavior. There's no solidarity in guilds.
This is like asking how you can keep drinking the blood of babies without the guilt of killing babies. The quality of living attributed to tech workers is on the condition that they participate in the system that extracts value from people and society. If you don't want to participate in that system of exploitation, you don't get the privileges that come with being an exploiter.
It's not exclusive to tech workers and it has nothing to do with Maoism. I'm not even leftist. It's just how our present economy works: since needs have long been satisfied, profit goes to who exploits better. Either the workers, nature, or the consumer. The more you exploit, the more you profit. Or do you think it's by chance that every major investment group, tech unicorn and military company does or enables unthinkable dystopic horrors?
I think the title implies "tech industry", as in companies producing digital technology for profit. Working for an union as a developer is not working "in tech" imho.
Join Tech Workers Coalition and discover how to go from being a passive slave to your CEO to an active force for change.