That was my first thought, too -- is puppy ok? Babies will be babies, even the furry ones!
An electrician should be able to fix that for you without getting a new cord, but I'd definitely make sure you run that cord (and anything else that's reachable) through flexible conduit or something that puppy won't be able to chew through, or the next time it could be far worse. I'm so sorry that happened to your new machine!
I had a yorkie years ago who would never leave my test quilt blocks alone...always dug them out of the baskets and scattered all throughout the quilt room. That stopped when I made a small quilt out of some of those test blocks, just for her. She never touched them again. I buried her in her quilt two years ago.....and I still miss her like I lost her yesterday.