Investors are worried about loans that private-credit funds have made to fund buyouts., but the funds do a lot more than that.