One day the box starts working a little bit less- it only produces 12 potatoes a day.
What happened to your wealth?
I get where you're trying to go, but it falls flat on its face as soon as you say it produces 15 potatoes a day. You're conflating creation of assets with a ballpark estimation of what someone might pay for a thing.
It's like they say with collectibles. That 15000 dollar comic book is worth squat til you find the buyer willing to pay $15000 for it.
It's not like collectibles. Productive assets have value no matter what someone wants to pay for it. That's why gold and crypto are so stupid - it's greater fool theory.
Old Warren Buffett covers this well here: https://hollandadvisors.co.uk/wp-content/uploads/2021/03/buf...
Asset prices can change in response to asset values changing(like your example), estimates of asset values changing, liquidity problems, and risk preference changes. And it can feed on itself.
In some of those cases real wealth is lost, in others, it's just people throwing around different bids and offers.