To play devil’s advocate, it’s not just the delivery that’s included in those costs. It’s also the development and maintenance of the ordering platform, vehicle maintenance, etc.
Edit: thanks for the downvotes even though I specified I was playing devil’s advocate. Also, in the Netherlands, pizza companies provide their own vehicles which seems normal to me.