What allows them to offer a free tier is that they are ok with burning and losing money not because of how they built their service.

Even when a database scales to zero someone still has to pay.