If machine guns were useful against drones Russia would be winning in Ukraine.
Check out Russia's Black Sea fleet to learn the fate of your navy sitting by your shores.
Is it that they can't work, or that they are too expensive for Russia to field any appreciable amount that won't just make them valuable targets? Its not trivial to produce the hundreds of thousands of rounds you need for each one to be ready.
The PM M1910 is used by Ukraine to shoot down drones.
russia is currently holding just about all the land it wants in Ukraine
They might not be taking Kiev for a hundred years, but the fortress belt is well within reach in the next couple of years
If they were to negotiate an end tomorrow, Russia certainly wouldnt be giving up territory in ukraine. i dont see how thats not winning