Except as may be prohibited by 66 Pa.C.S. Pt. I (relating to public utility code) or Federal or other State regulation of transportation or commerce, a city may, as it deems necessary for the public benefit and convenience, contract with a person owning a public transportation service, railroad company, street railway, motor power company or passenger or transportation company.