To save time for anyone else, here are the steps mentioned in the Reddit article.
If you have any issues with incorrect tab icons/favicons showing this fix worked for me:
1. quit safari
2. delete the Favicon Cache folder /Users/USERNAME/Library/Safari/**Favicon Cache**
3. empty trash
Now Safari tab icons should all refresh to the correct ones.