I wish there were a way to be more open about this. On the one hand, you have things like ADA really dictating from a legal perspective how companies can discuss these sort of things; on the other hand, you have very real stigmas that people have against neurodiverse people. (For instance, I have not and will never tell my boss I have ADHD; I have heard far too many stories of people being lulled into thinking it was safe to do so and then finding their professional relationship irrevocably changed.) It's a shame because I think it could be a net positive for all if done in a healthy way.
It also has pushed me to a very CI/CD-centric and statically typed workflow (in a python-heavy AI/CV department), because I need to be able to reason about stuff I wrote on a bad brain-fog day. My philosophy is if it's easy for undermedicated me to reason about it, it's easier still for my coworkers.
Like you said too, some of these people lack good interpersonal abilities. I know a friend who is also on the spectrum and is one of the smartest people I know, and excellent when it comes to math. However his lack of interpersonal and social skills has made it difficult for him to find meaningful employment.