‘Motor vehicle’ means every vehicle which is self-propelled but not operated upon rails. The term does not include an electric bicycle or an electric scooter.