Businesses are managing tariffs, and AI is boosting productivity — improving prospects for the economy, profits and financial markets.