The Law as Public Infrastructure: AI and the End of Legal Scarcity