Rabies isn't really transmitted that way. As you can see, it requires direct contact: https://www.mayoclinic.org/diseases-conditions/rabies/symptoms-causes/syc-20351821
If you find yourself fearing situations like this frequently, you probably should speak to a mental health professional.