You missed a point.. they may be trying to 'enhance the guest experience' by making them happier while separating them from their money.
Example: You go into the car dealership to get your car serviced... and when you get the diagnosis.. the agent says 'Mr Bill, it seems you need a new doojacki, but I see here you've been a loyal customer and we are going to take care of that item for you at no cost'.
The dealership didn't make a nicer waiting room, they didn't pickup their floors better, they hit the customer where people feel it the most. Their wallet. By offering a discount, the dealership is building good will (leading to more referals) and likely making the customer more loyal to them vs the competition.
And it doesn't have to just be 'freebies' - discounts are also used to help close deals.
Example: we know from your demographics you like products A,B,C but we notice you haven't bought any of those this trip. We can send you a coupon that may entice you to actually go out of your way to actually purchase A, B, or C. The company gave up some margin to close the deal.. but is still ahead.
These are examples where the customer feels good - and the company didn't do a single thing to change their product that the customer consumed.
Successful companies are NOT just about 'we have the best product' or 'we have the cleanest floors..', etc. Customer loyalty and attach rates are manipulated through so many means. It's not just the idealistic world presented by customers all the time 'I just want the best product!' - yet not everyone will go out of their way, or necessarily pay for the best product.. and often the guy that built the best product, but failed elsewhere.. ultimately fails.