This is a very complex question, but they both collapsed due to:
decentralization and government corruption
plagues/ epidemics
high taxes
and invasions
Some differences are that the Chinese empires saw a revival while Rome didn't.
9.0m questions
11.6m answers