It's the conversion of kinetic energy into heat by the brake pads that slows the bike. The tire/road interface powers the brake by turning the wheel and the brake is kept in place by its connection to the forks.
If you were flying ET-like and your wheels were connected to a propeller, applying a brake to the rim would slow you down.