In every such grant it shall be provided that upon the annexation of territory to the City, the portion of any such utility that may be located within such annexed territory and upon the streets, alleys, or public grounds thereof, shall thereafter be subject to all the terms of the grant as though it were an extension made thereunder.