UBS said Goldman Sachs shares look attractive following the AI-driven decline and recommends buying, while anticipating that strong capital market activity over the next two years will benefit the investment bank.