Same missions dictate similar features and size. Same for the C17. Or An125 and C5Y-20 is based on IL-76? they look so similar here
Y-20 is based on IL-76? they look so similar here
The flap system and general wing planform are also very similar, though in other respects (supercritical airfoil section) the Y-20 wing is much more modern.