Jenny Johnson’s warning comes amid a sell-off in buyout shops and private credit lenders that have bet heavily on tech