I've heard of Redbox, but didn't hear about these codes.
(I know, this fact doesn't make the digital rental any cheaper...)
Either RedBox is losing money on each rental, or....
The world of physical rental - at least in the US, not commenting globally - can rely on the First Sale Doctrine, which dramatically alters the economics.