The type of branes a theory has in constrained by the p-form fields it contains. There is only one supersymmetric gravity theory in 11d, and it has a single $p$-form with $p=4$, call it $G_4$. This means that the theory can possess brane solutions that either couple electrically to $G_4$ (M2 branes) or magnetically to $G_4$ (M5 branes).
To understand the dimensionality of an electric coupling, The $p$-form field corresponds to a $p-1$-form potential. $p-2$ of these directions correspond to the extended brane directions (if there are any), and the last one corresponds to time. Compare this with the familiar case of electromagnetism where $A_t$ couples electrically to a point particle's worldline, and the field strength is $F_2 = dA$. In the case of M-theory, this means that $G_4$ couples electrically to a two-dimensional object, i.e. M2 branes.
To see where the magnetic M5 branes come about, simple take the Hodge dual to obtain a 7-form: $\star G_4 = G_7$, and then $G_7$ couples (by the same arithmetic as above) to a 5-brane, i.e. M5 branes.
Oh, and just a comment, in the 10D string theories there are indeed many different branes, but not all kinds. They are constrained by the same counting. So for example, in terms of D-branes (not counting the NS branes), IIB only has odd-dimension branes and IIA has even ones.
This post imported from StackExchange Physics at 2015-02-21 12:41 (UTC), posted by SE-user Surgical Commander