That's only if you take Google's PR at face value. Also, no where in the article nor in Google's statement do they claim that Meg Mitchell did anything "illegal". I haven't seen any details about the allegedly extracted files, so I think there's more to the story.
There have been countless Googlers who came out to support Gebru. Did Google fire all of them? Or maybe Margaret's support was particularly outspoken, but I doubt it.
Its google says vs she says - honestly i take neither at face value, but i'd expect repercussions if i started download/sharing internal files en masse.