A local agency may construct or improve any enterprise wholly or partially within or wholly without the local agency. By gift, lease, purchase, eminent domain, or otherwise, it may acquire any real or personal property, or any interest in or improvement on any such property, or any water rights for an enterprise, except that no property of a state public body may be acquired without its consent. A local agency may sell, lease, exchange, transfer, assign or otherwise dispose of any real or personal property or any interest in such property. It may lay out, open, extend, widen, straighten, establish or change the grade of any real property or public rights of way necessary or convenient for any enterprise.