Well, before we decide to assign a consequence, a few things:
Your daughter was not responsible for the sunscreen spray being in the house. This was likely your sitter's fault. I am really baffled as to why you think your daughter should 'learn the lesson'. I'm genuinely confused. You are the adult. If you have an expensive table and a child, it needs to be covered. We have a glass top and an oilcloth on top of that for our nice table.
That, in combination with a medication (that's what sunblock is) being left within reach of a youngster, is a learning lesson for the adults. What did she do that was bad, other than *possibly* set a drippy bottle of sunscreen on a table that should have been covered? Why are no adults accepting their part in this? Why is your babysitter letting her take the heat? She should have kept the sunblock out of reach and been supervising your kid.
Next time, talk to your babysitter about the dangers of leaving out medications (what if your daughter was like some kids I know, who like to suck liquids out of spray bottles?--- please be thankful she wasn't made ill or sick having access to this) and get a good cover for your table. Because it *will* happen again. "Use a coaster" can become an ugly refrain. I know, because I made my husband get that glass and oilcloth because even I, as an adult, could not be 'perfect' enough for that table of his. It's an unrealistic expectation to have of a child. No punishments, no consequence, no time outs. We sometimes find ourselves at fault for lack of forethought. This is one of those times. Sorry.
PS: just wanted to add, per your SWH, that 'sorry' is a tricky one. I do not ask my son or my preschoolers to apologize to others, because I want them to learn it themselves. The best way to teach it, from my experience, is to model what 'sorry' is on our own. I had to apologize to a child today for a mistake that I made, and I did so with concern, compassion and with an open mind. (she accidentally fell because I moved something and she wasn't aware of it. That was totally my mistake.) We got out the ice pack, etc. So often, we instruct our kids to "say sorry" because it's the socially-required thing to do, and so we actually miss giving them the context for what 'sorry' really means. They just see it as a step in the 'making good' process before going back to play and don't get the genuine meaning of it. It might be, too, that your sitter told her to 'say sorry' before you came home, or made a comment that you might be upset. But if your daughter had no real intention of damaging anything, it's really unclear why she would spontaneously apologize all on her own.