Shares of Chinese companies have fallen heavily amid the sell-off, a drop that analysts said had been long coming thanks to sharp run-ups in recent months.