In the UK the "National Savings & Investment" bank is actually outright owned and operated by the British government, specifically for this purpose. Instead of raising money commercially with a debt security, and then having banks buy that take savings from their customers to afford the securities and keep a cut as profit, the NS&I gets rid of the middle man and just borrows money directly from citizens at a decent interest rate with zero risk‡.
‡ Obviously the government itself might fail, but you're exposed to that risk anyway, so it didn't add any risk to involve NS&I here.
Well, you can buy, e.g., savings bonds directly, but only $25,000 worth per year.
If you spread it around 4,000 banks (there are 5,593, so this technically possible), it would, since the limit is $250,000 per depositor per bank per ownership category (I'm assuming avoiding the overhead of manipulating ownership categories, which could shrink the number of banks needed further.)