YANBU and I say this as the owner of two Alaskan malamutes.
Malamutes do best in an environment with plenty of space, and preferably with some territory of their own, and they don't get either of those in a cramped flat.
They also need plenty of exercise, because they're work dogs, taking them for a walk around the block a couple of times a day is not adequate exercise for a Mal.
My husband takes our Mals on his runs, I take them to a state park a few miles north of our home where they can swim in the lake (although not all Mals like swimming, thankfully ours do) and we go on weekly hikes as a family. Plus on top of that, we have eight acres of land, and as our fences are high enough and very secure, I can let them out when we're at home and they'll just run and run and run.
It's very dangerous when Mals don't get enough exercise, that's when they start to exhibit bad behavior, which yes can end up meaning they bite someone. And if you also add in a lack of space, and the Mal (or Mals) not having some territory of their own, it can make it worse.
I believe a young child was killed by a Malamute in the UK a few months back, and it wouldn't surprise me one bit, if the dog in question wasn't being exercised adequately and didn't have much space.
Personally, I think it's about time that ownership of such dogs was restricted, and for people to be able to prove they meet the necessary care requirements these beautiful, intelligent and powerful creatures deserve.