This week saw massive moves in both directions for software stocks, as investors try to figure out which names are best insulated from artificial intelligence.