Polish military prosecutor Mikolaj Przybyl has survived after shooting himself in the head moments after holding a press conference in his office.