Microsoft is pushing AI agents deep into Windows, reviving a platform strategy that once made the OS dominant.