In terms of neurodivergence, I’ve found for myself over 27 years, that working at large companies is in fact the problem, and smaller places with more flexibility and broader responsibilities is far more rewarding.
This is the case for non-neurodivergent people too. Large companies these days are, largely, an exercise in corporate politics rather than solving technical problems.