The point of share buttons in most cases is the tracking pixel that comes with it, not the share feature itself.
Also when you work with real users, not developers who remove tracking parameters you quickly realize that share buttons are used and people complain about them if they don’t work, can confirm from my own experience.