China showcased a new generation of weapons at a military parade in Bejing, including unmanned submarines and aircraft.