I like the trams. I like the trees. I like the greenery in the city. I don’t like that the tram pathway looks like a field to play in from the perspective of a young child.
Many trams don't actually drive that fast. Some googling suggests this is Helsinki. Their trams run at 14km/h. That's easily slow enough to react to a kid running onto the track.
Also this seems to have roads on either side, so I don't think there would be many children playing in that area.
From the perspective of the tram driver there are a lot of trees along the tram way. Those trees could make a blind spot for the driver if a kid was playing along the tracks.
My point is that why replace one danger cars and then write off the other dangers as irrelevant. With some effort I think we can get both dealt with. However, if this is Helsinki how has this actually performed? That can help guide risk assessment too.
Kids aren't gonna randomly start playing there. If you look around on the linked map, there are parks all over the place. It is much more likely for kids to play there, where it's nice, than on some major road.
Google isn't spitting out any results no matter how I search for it but I'm under the impression that kids in Finland go to school on their own basically starting with kindergarten. At least there are plenty of countries where they do, so kids are obviously capable of navigating public space safely and independently. I know I did. I crossed 3 main roads on the way to kindergarten.
If we cannot teach adults to drive the proper speed successfully, to not be impaired, to not play with their mobiles, and to pay attention what hope do we have for kids?