I spent years on that treehouse and then it burned down :(
Online courtesy of the Internet Archive at https://archive.org/details/edg-ng-1981/edg%20NG%201996-02%2... (People of the Trees, p. 34)
Maybe a sheet metal "band" around the trunk, several feet off the ground, would be enough to stop the scorpion from being able to make it to the treehouse. If the surface is smooth, the scorpion's tarsal shouldn't be able to find purchase.
Like a 12 to 18-inch wide band of smooth stainless steel or aluminum wrapped around the trunk.
Scrape x-inch bark off > apply metal mesh > 100% silicone sealant > butyl tape > wrapped aluminum > lock in with stainless steel hose clamps. Could even get a design lasered into the metal which might be cool.
Kind of like this from Reddit, but with those add'l steps: https://archive.is/yHYdj