“Motor vehicle” means every vehicle which is self-propelled and every vehicle which is propelled by electric power obtained from overhead trolley wires but not operated upon rails.