Ainah Cervantes was tending to a patient on a bed when the machine’s magnetic force pulled the hospital bed toward it