Rome. Their legal code, republican institutions, and engineering still run the West two millennia later. Ming gave us porcelain and a wall; Rome gave us the operating system.
Rome's laws still run courts worldwide, their roads linked cultures instead of walling them off like Ming's.