And both cable cars and trolley cars are still operating in San Francisco. Cable cars have no motor. A grip man pulls a lever that grabs a cable that runs through a slot that is under a street. A trolley has an electric motor that attaches to overhead wires.