Even if the trees aren't shading the house directly, they will have a cumulative cooling effect; they capture the sun before it hits and warms up the ground, they have constant evaporative cooling, etc.
Shade trees can be pretty nice to have, especially when they are deciduous and automatically provide dense shade in the warm months and less shade in the cool months.
They can also destroy pavement, and foundations, and underground utilities.
They can be messy. Leaves fall and generally need dealt with somehow, and many kinds fruiting trees produce fruit that is big enough for a person to twist an ankle on just by walking through their own yard.
They can be expensive to maintain properly, and even when maintained properly they can drop heavy things that damage expensive things.
It isn't necessarily a straight forward comparison.
While I'm sure that well-placed trees can be a great benefit to the overall cost of owning and living in a dwelling, I'm also sure that they can be a great detriment.
If I had a choice, I think I'd rather have big solar panel arrays than big shade trees.