Tech Companies to Keep Spending on A.I. Despite Worries of Slow Payoff