I've had similar experiences over the years. I started out at a startup with inexperienced founders, which resulted in micromanagement and eventually my departure after a few years. I was then hired on at a couple traditional server hosting companies that have been repositioning themselves as cloud hosts. At one of the hosting companies, I did have some measure of autonomy but politics and micromanagement were in full swing.
Most recently, I had worked at a BigCo that I left a few months ago. The environment was soul-crushing and toxic. The experiences wore me out mentally and put my health at risk, so I left.
I'm still trying to figure out the next step myself, whether it be leaving the field for something else or starting my own company. For me, it has meant a lot of introspection and lurking on sites like this.