Honey is a by-product of bees, the same way that all human made food is a by-products of humans.
I think it’s more accurate to think of you trapping humans in your basement and leaving them a bag of groceries every once in a while. Then you go down there and take whatever they cooked with the produce. They get to eat what they make, you just get the leftovers. They also can’t leave.
Actually if bees don’t like the hive you put them in, they absolutely will leave. I haven’t had happen to me personally but I have heard of it happening to others; you put the package in and come back to find that 200$+ worth of bees just upped and flew away.
Seems more akin to letting them milk themselves and collecting it from the fridge.