A Chinese ship captain has been sentenced to three years behind bars for severing an undersea communication cable in February.