I think Shulk told everyone to run away, but only Kirby on his warp star was fast enough to outrun the beams and warp away.
An analysis video I watched made a good point: The camera angle when Shulk looks back is pretty low, so he might actually be looking at Kirby specifically.