On the bright side for Gemma
The only people that know M3gan went homicidal are either dead or have a vested interest in staying quiet about the whole thing. The company sure as hell would want to cover this up, as that asshole kid's death would probably open them up to a 7 figure lawsuit.
She basically gets to walk away with her career and life intact despite having 4 humans and one dogs blood on her hands. Not a bad deal.