The securities are structured such that investors with a high tolerance for risk, like hedge funds and private-equity firms, buy the bottom layers hoping to win the lottery.