New study finds AI stock-market timing fails over long term