I would have never connected bitten tomato=possibilities of rabies.
But I would say that Emtyeye is correct.
But there are a number of bacteria that can be transmitted through eating pre-bitten food. Dog mouth's in particular are full of bacteria.
As long as you have a healthy immune system...the amount of bacteria from one tooth mark should not make you ill, but l will repeat what others had said here, wash and inspect fresh food before eating.
However sometimes tomatoes get cracks and holes near the stem that run towards the middle on the skin of the tomato sometimes even causing deep cracks. This is not a bite, but caused by uneven watering.
Jojo
_________________
All art is a kind of confession, more or less oblique. All artists, if they are to survive, are forced, at last, to tell the whole story; to vomit the anguish up.
-James Baldwin