The city council shall have power and authority to make or cause to be made contracts to furnish customers with electric energy, lights, water and gas within and without the territorial limits of the city when this can be done without adversely affecting the inhabitants of the city.