Generative AI is reshaping Wall Street, creating unprecedented opportunities for investment banks while introducing complex new risks.