Don't know which company you work for but this is unequivocally not true at mine. HR are subservient to Engineering (our CEO started as a senior SWE ~15 years ago). I am also one of those "useless" EMs that barter for the comp packages of my most valuable SWEs.