4 software stocks gain as AI adoption drives enterprise spending