Software stocks have fallen sharply as investors reassess growth prospects amid rapid advances in AI-powered coding tools.