I grew up on a cattle farm. The only time we used antibiotics as a prophylactic was when we neutered with a knife for some reason. Generally speaking we neutered with an elastic band so there was no open wound.
That said, our cattle had pasture to roam and graze, even the feeder cattle. The need for antibiotics could be attributed to feeding in confinement.
I kind of figured the feeder lots that are set up now must contribute to it.
Our neighbor has 25 cows on 1.5 acres, we have been yelling at the township to enforce the 2 cows per acre rule they have on the books, but so far they just ignore us.