They don't get killed adjacent to the farm, the abattoir is usually far away from it, you put them on a truck to send them there. They wouldn't care about being a slave from birth, they don't have the concept. A cow is happy to be eating grass and chewing cud, it doesn't have any highminded ideas about escaping to live a better life.