The China-US AI gap has narrowed to around three months from more than a year, thanks in part to the…