US debt tops $40 trillion as AI boom strains fiscal path