Former Russian president Dmitry Medvedev has warned that a direct war between Moscow forces and NATO would lead to nuclear apocalypse.