Beijing has limited force projection options. Rolling in the military means inviting international sanctions and possibly military aid, if not for Hong Kong then almost certainly for Taiwan.
The protesters are rationally responding to a ham-fisted (yet weak) authoritarian move by Beijing. (The right move for Beijing is retreat. But that option went off the table when Xi installed himself as leader for life.)