T-Mobile has revealed it was among the telecom providers hacked by a group reportedly tied to the Chinese government.