Batman Begins (2005)
Batman Begins (2005) Ra's Al Ghul trains Bruce Wayne then turns against him/Batman in Gotham/Arkham
The Dark Knight (2008) Harvey Dent/Two-Face is an Ally of Bruce Wayne then after opposes Batman blaming him for Rachel's death and his transformation.
The Dark Knight Rises (2012) Catwoman/Selina Kyle initially steals from Bruce Wayne (Lamborghini & Necklace), then tricks him into Banes underground hiding. Near the end she sides with Batman over Bane
Also Miranda is initially an ally of Bruce Wayne/Wayne enterprises. Near the end she reveals herself to be the villain all along