The S&P 500 Index is poised to end 2025 up more than 17% as the bull market continues for a third year driven by enthusiasm for artificial intelligence.