Beijing has boosted its military spending by double digit amounts for several years as it seeks to modernise its armed forces, and now has the world's second biggest military outlays after the US.