International flows into American equities have exceeded government debt for the first time this century, excluding periods during the pandemic and the aftermath of the global financial crisis.