You are correct: Animals and plants don't synthesize B12, bacteria do.
However, these bacteria are also found in the small intestine of humans. So you might want to add them to your list of contributors.
Check out this study [1]. This fact is usually not mentioned in the livestock industry fear-mongering propaganda ("You will eventually die without meat").