Then, regarding supermarkets you'd be surprised as their business model isn't what you think it is. Since they pay their suppliers quite some time after being shipped (60 days in my country, it varies with the country but AFAIK there's always a delay) while they sell their stock much more quickly, which means the majority of what you buy from them, they haven't actually paid it, but borrowed with an interest rate of zero. When interest rates are high, they can make significant revenues from managing this cash flow alone.
[1]: https://www.bankofengland.co.uk/knowledgebank/how-is-money-c...
Why do you think savings accounts have limits on it but you get interest on it? Because it's more stable and more reliable for them.
By "massively" do you mean margins of 2-4%?
That doesn't mean the supermarket doesn't charge you for it. Supermarket too are massively profitable businesses.