I have heard that many of canned cat food comes off the same canning line producing people food. Same contents and same cat. Different label and the cat food sells for half the cost.
This makes a lot of sense to me. One production line and standard saves confusion, costs and possible law suits.
I don't know if you could sue if grandma got sick from eating cat food. But I do know that some of the exotic pedigreed cats are worth many thousands of dollars. If Boots the cat gets sick and keels over because of the pet food the pet food company will be getting a nasty, and expensive, certified letter from a lawyer.
Same thing with drugs labeled for animals. I talked to a vet who pointed out that those drugs are used on animals that are insured for sums of money usually reserved for large tracts of land or military spending.
I suspect that in both cases if it is considered safe for animals it is probably safe for humans.