Buyout firms are on the brink of a software reckoning, having failed to spot signs that technologies like artificial intelligence would upend one of private equity’s favorite sectors, according to one of Apollo Global Management Inc.’s top executives.