Beijing's planned military budget comes amid escalating conflict in the Middle East and persistent tensions over Taiwan.