The head of the European Space Agency has warned that having nuclear weapons in space was 'the ultimate nightmare scenario'.