If you compared mishaps per mile, impossible to do since the majority of peds aren't insured for the road and aren't statistically tracked by insurers, motorcycles are far safer, even with the large speed handicap of peds. Mishaps per hour in the saddle? It gets worse yet.
Leave out for argument's sake the different riders/personalities peds and MCs attract, and their contrasted uses.. mostly joy riding vs mostly commuting, and the averaged likelihood that a ped rider has less road experience than a MC'er. Even leave out the mechanical superiority of motorcycles generally. Then you are comparing two wheeled vehicles. The motorcycle spends 99 percent of its time in sync with all other traffic. Average ped spends about 50 percent of its time in sync with the rest of trsffic. The other 50 percent of the time he's an anomaly, out of step with the flow. Doesn't take an insurance actuary to tell you that's a recipe for accidents to happen.
I'm mostly defensive in my car. 90 percent defensive on my motorcycle. 110 percent defensive on my little Puch. I'm still waay more vulnerable on the Puch. (edited)