Sprockets look good, I would keep using them if I where you.
Holy smokes that is bad! If sand was the case I would change the chain too, the chain should also be noticeably worn. I'm thinking maybe the chain was too loose or too tight .17,000 miles and front sprocket is worse than toast. I live on a dirt road and the way the cover, over the front sprocket is designed, all the sand and oil built up around the sprocket and this is the result. Got a new sprocket and I think the chain and rear sprocket should last another 10,000 miles or so. The channel, in front of the of the sprocket, allowed the sand and oil to pack against the sprocket and this is the result. I change oil and filter at 5000 miles and I'll wash that area out then. Didn't expect to find that. This is the first time I've looked in there, since I got the bike.