There are lots of assumptions in that entry-level physics exercise, for instance that all the energy can be dissipated without destroying anything (that the brakes are able to utilize the full friction available) and also that the entire weight of the vehicle rests on top of the wheels performing the braking.
Weight and ground pressure cancel each other out in the friction equation. The issue is where all that heat goes. Heated brakes will fade, glaze, fail, break, burn or a combination of the above, so there are limits on how much braking force you can apply to wheels