Bank of America hikes year-end target for S&P 500, citing focus by companies on efficiency and A.I.