Persistence of critical multitype particle and measure branching processes