That's marginal compared to the increase in financing costs due to rising interest rates.Whilst the taxpayer might not be wasting any money on them specifically, they are likely to raise the overall cost of leasing trains, as the financing companies will adjust their expected risk and likely end up charging more for trains in future to compensate.
And, following the recent changes in travelling patterns, there won't be much in the way of new rolling stock orders any time soon.