Yes, that’s how agriculture works. You select the ones that are the plumpest and tastiest and breed those. Doesn’t change the origin.
So cows and pigs - like many fruiting plants - co-evolved with the creatures that fed on them. In both cases, those creatures became necessary for their long-term survival.
Angiosperm co-evolution goes back hundreds of millions of years. Animal husbandry goes back what, 10,000? That’s an evolutionary blip. Yes, long enough to select for traits we prefer, but not long enough to develop the kind of symbiosis we see with fruits. Domestic pigs and cows do get some benefits from being kept, but we certainly aren’t necessary, except maybe some sheep.
Why does the length of time matter? Domesticated varieties of cows and pigs would go extinct if humans stopped raising them for meat. The only niche where they can survive is a farm. They are in symbiosis now even if they weren’t 10,000 years ago.