The kid was being a kid. The adults are being idiots. The extent of her punishment should be a dopey slap and a hearty, "Don't do that again. You're lucky you didn't kill yourself."
I had a chemistry set when I was a kid a lot younger than her and I mixed everything I could get my hands on.