For the first time in nearly two decades, investors can earn more than 5% on some of the safest debt securities in the world. That’s competitive with riskier assets like the S&P 500 Index.