Sometimes the inventors are so far ahead of their time that the materials science first has to catch up (in some cases only a few millenia) before they can realize their devices. Effectively it is then the first person after whoever did the materials science part to create the device that gets to claim the invention.
So we get Sikorski, and not Da Vinci.
We get Arthur C. Clarke who claims the 'communications satellite' even though the moon was there all along and the Sputnik was the first working very crude device (it was one way only, it said 'you lost the space race' in a single bit of message).
We get Newcomen, Jerónimo de Ayanz y Beaumont (I had to look that up, I can never remember the man's full name), and Hero of Alexandria competing for the steam engine title, with all of them holding some part of the credit.
Pointing at an inventor is hard, and 'who built the first working device' is one way of doing this but it assumes a singular effort whereas most things are team efforts and misses the bit that the idea itself can be an instrumental step in getting your 'true' inventor to make their claim, standing on the shoulders of the giants before them. In isolation, we all probably would invent the hammer in our lifetimes, if that.