No.
There is a correlation between tea and coffee and reduced prevalence of type 2 diabetes. This is much different from 'cutting' type 2 diabetes risk.
It is more likely that not drinking sugar water (i.e. coke, mountain dew) that cuts type 2 diabetes risk.
(As stated in the comments).
Tea and coffee are merely a means to quit drinking as much sugar water. You could likely replace tea and coffee with 'tap water' and 'bottled water', and get similarly good results.