It's exactly the same. The dogs paw would turn it on with a bump.
Same for gas, except it wouldn't ignite, just possibly blow up the apartment.
Unless you claim new knobs require a double action...then so could new touch buttons ( our touch induction took multiple actions to turn on which a dog could not do)
Don't leave things on the stove is a good lesson here perhaps.
I'd also hope the fat was not hot when they left it unattended.
I assume the firefighters were alerted early by modern tech, not people yelling out.