China exports beat estimates in July, AI demand cushions slowdown