Interesting but I don't think it's necessarily related to neurodiversity. The article is talking about severe sleep deprivation; it suggests that the brain is attempting to conduct activities usually reserved for sleep (e.g. clearing out waste materials via cerebrospinal fluid) whilst you're awake, resulting in those loss of concentration moments.
Now, sleep is more often troublesome for neurodivergent individuals (particularly autistics), so some degree of this effect is potentially seen with greater frequency in autistics, but I would be hesitant to point to this as the main driver of attention-related difficulties without further data (especially when we know that there are other factors that influence attention regulation in neurodivergent individuals).