China is transforming from a continental power to maritime power. The leadership in Beijing is aiming for naval supremacy in its nearby waters by 2050.