At an event in San Francisco, CEO Satya Nadella showed how Microsoft’s Windows operating system will be a box for AI agents, with many tasks running locally and not on the cloud.