Many institutions, such as university endowments or sovereign wealth funds, invest on these time scales.
Example:
https://www.bloomberg.com/news/articles/2017-08-29/why-yale-...
And as another commented, these bonds can be traded long before they mature.