I hate to ask, but are you planning on selling the tractor right away? Regardless of resale value of ANY brand, if you only keep it for a short time, you're going to be competing with new models that wouldn't cost a whole lot more, and maybe 0% financing offers that would make your nearly new tractor less attractive.
I would say that it depends on where you're located, and how well the brand does in your area. A Kubota in one region, where they're popular, will bring more than a JD sometimes in the used, and JD in other areas where they are popular.
If you keep most any tractor for a number of years, you should get a pretty good resale unless the brand just isn't known in your area. People tend to go for what they know. Doesn't make it right, but that's the way it is.
Generally, the Kioti CK30 is not a lot more than the CK25 and they are exactly the same tractor frame and features.
I've tried both and they're both wonderful tractors. John