RB Leipzig shocks Man City and secures third place