Collateral

Vincent (Tom Cruise) completes four of his five kills, but when Max (Jamie Foxx) finds out that Anna (Jada Pinkett Smith), a woman who had ridden in Max's cab before, is Vincent's final victim, he warns her and she tells the cops. Max crashes the taxi and takes one of Vincent's guns and Vincent goes after him. Vincent chases Max to the subway and the two of them shoot it out until they are both out of bullets. Max is unhurt. Vincent, seeing that he is fatally wounded, sits down dies on the subway. Max walks away along with Annie.
Thanks, TenaciousD1212 and Marcus C!