The provisions of this Code shall apply to all electrical wiring and equipment installed, used, or maintained in the city, except the electrical wiring or equipment used in the generation, distribution, and rendition of service to the public, which is installed by or for and owned or maintained by a public utility, telephone, or other such company permitted to operate in the city.