A massive spending boom on artificial intelligence infrastructure is saving the U.S. economy from a recession.