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.4m questions
12.1m answers