It's a piece of hardware so it'll have their own driver but you can access it through the OS APIs just like any other piece of hardware. What's new is the improvement in speed, Apple has exposed their NPUs for years. You can e.g. run Stable Diffusion on them.