Such corporation may also contract with cities, towns, and villages, and with persons, for supplying them with water, light, heat, electricity, electrical and mechanical powers, and any other article or thing which it may produce or handle.