The Batcave was 14 miles outside of Gotham City. Close enough for Batman to fight crime, far enough away for Bruce Wayne to avoid ridiculous tax rates.
Having a personal trainer at the gym is like having that bully in school. They still terrorize you, but now they make you do pistol squats before taking your lunch money.