AI stocks surge as investors bet on growth prospects