OOOOOOOoooo you found a petrified PREHISTORIC CRAB! Those are SUPER RARE!!! At least the oldest find yet on the forum...over a million years old for sure!!
I'm guessing it could be to hold a dish of melted butter or cocktail sauce or maybe a paper towel stand. I bet it is something restaurant related. Cool find. I hope you find out what it was originally.