Default rates in direct lending will climb to 8% as advances in artificial intelligence continue to disrupt the software industry, according to Morgan Stanley.