As AI agents become more capable, Microsoft may be positioning itself to profit not just from intelligence, but from the infrastructure and security systems that govern it.