Any public corporation heretofore or hereafter incorporated and existing under the provisions of this chapter is hereby authorized and empowered to lease any hospital, building or facility constructed and equipped under the provisions of this chapter to any public corporation or any nonprofit corporation. Nothing in this section shall be construed to allow the abrogation of the terms of any contract or to jeopardize any security for the fulfillment of any obligation assumed under the provisions of this chapter.