Counties may appropriate and expend funds for the purchase of materials, machinery and equipment to assist the districts organized under this section and section . Cities or villages may appropriate and expend funds for the purchase of materials, machinery and equipment to assist districts organized within their corporate limits.