It's a complex issue (and I'm saying this from the perspective of someone coming to doubt the effectiveness of breed bans, at least in the longer term, because some new power breed is introduced by the same type of people who introduced the last one).
But some breeds do pose a bigger threat than others, and it's not just the owners.
The UK dog bite fatality stats are dominated by bull breeds, rotts and mastiffs, with the odd shepherd, husky or terrier, and sometimes an unexpected breed where a bite or nip has resulted in sepsis.
Bully XLs didnt exist in the UK in any numbers prior to Covid. Since then they've killed about 20 people. In the same period, the fatalities attributable to the epically popular, often poorly bred and frequently untrained cockapoo remain at zero.
These dogs dominate partly due to their breed. They come from lines developed to find pleasure not only in biting, but hanging on and shaking their heads as they do so. This results in horrific injuries.
So even if the vast majority never attack anyone, as a breed they are much more dangerous than labradors, cockapoos, collies, dachshunds, wolfhounds...
Couple that with the type of people who often want to own them, and you have a recipe for disaster.
Saying that most of them are harmless doesn't change the breed profile. As a breed they are - like rotts, mastiffs, American bulldogs and so on - more dangerous than even similarly-sized breeds that dont have bulldog, guarding or fighting heritage.