China completes building 12,000-tonne offshore drilling rig