Hedge fund manager David Einhorn cautioned that the unprecedented amount of spending on artificial intelligence infrastructure may destroy vast amounts of capital, even if the technology itself proves transformative.