Smaller software stocks have been on a tear this year, and the sector broadly stands to benefit from lower costs for AI.