The story in software companies is utterly different. The software industry is a healthy market where if your boss is an asshole, you can say "bugger you, your loss," and go get a job someplace where the standards are better. Academia is a deformed industry where funding is inadequate, too many people are encouraged to try to crowd into the field, and the setup puts all the bargaining power into the hands of employers at the expense of employees, so if your boss is an asshole, there's very little you can do about it.