Any municipality may acquire, construct, own, lease and operate within or without its corporate limits, any public utility the product or service of which is or is to be supplied to the municipality or its inhabitants, and may contract with others for any such product or service. The acquisition of any such public utility may be by condemnation or otherwise, and a municipality may acquire thereby the use of, or full title to, the property and franchise of any company or person supplying to the municipality or its inhabitants the service or product of any such utility.