Shares of special-purpose acquisition companies have lost their luster for those who recently saw them as a ticket to fast riches. That is good news for a different group of investors, who treat them as an alternative to bonds.