And this cannot be avoided while working as an employee, it's part of the system.
The good news is that there is one way to avoid this (the only way AFIK) is to start your own company, there you get to call all the shots for good or for bad.
It doesn't have to be a big company though, it can be just you and a laptop for starters.
Other than that, as an emotional coping mechanism and to preserve their mental sanity, people will simply become disengaged and cynical.
Take longer breaks and try to have a laugh with your colleagues to blow some pressure and make friends.
Also, because things work badly in those environments, there is a lot of blame deflection going on, which is one of the main causes of stress and burnout.
Again, part of the system, not much that you can do about it other than learning to deflect responsibilities to others.
Getting rid of the hot potato is a very important skill in these corporate settings.
Usually on a team, it's always the same people getting the short end of the stick. Try not to be one of them if you can, but often that's easier said than done.
Also, try to get promoted, you will get more responsibility and might even be able to fix some of these things, that's another positive attitude towards chaos that helps a lot of people cope with it.