This is not happened to me in many years...
But the last time it did happen, I was told at the gate that there is no way I could possibly make the flight (despite standing at the gate during boarding) and that 'they rebooked you'. I asked for an explanation of who exactly is 'they', but I did not get one.