I seriously doubt that cutting and bulking (if we can call it that for Tom Hanks) has anything to do with him getting type 2 DM.
Apparently, he's had high blood sugar since 36 and he is now 59. He most likely doesn't train on top of having both genetic and environmental risk factors for developing it. I doubt, however, that his movie role weight requirements had anything to do with it.