The meds (both stimulant and non stimulant) help people with ADHD choose where to hyperfocus, but hyperfocus is an internal trait of the ADHD neurotype, so it isn’t just attributable to the drugs or something.
I.e. normal people use stimulants to go fast, while ND people with ADHD use them to go slow or have their brain actually be able to slow down.
It also helps with non-work stuff that's just not fun to do, such as chores or filing your taxes. It even helps you stick with hobbies you actually enjoy but your brain gets bored of.