I think - you should not use nested classes for this.

1.) Not all modeling concepts must have its counterpart in programing language.
2.) Nested class breaks encapsulation, because it can access private members of its outer class. In your case: pedals will able to manipulate the whole car, althought they should be able to operate only breaking system.