Capital Contracting and the Regulated Firm