That doesn't seem like a mistake, seems to me like malice.
I remember someone tried to pull this on me, sent a take home assignment that was clearly just a feature they wanted in their software. I called them out on it but said I'd be happy to do it and bill for it. We had a call to chat about it and they outright admitted they were using the take home assignment as free labor.
Apparently they actually did hire someone in the end but, jesus.
They owe each an every applicant hard cold cash compensation they can pay their mortgage and buy food with, not a getaway vacation at a time in their lives when the economy is so totlly fucked by Trump's war in Iran and tarrifs, they're out of work, busy looking for a job in a market devistated by ai, and don't have time for a getaway vacation.
And they owe every single other person they spammed under their victim's name a personal apology from THEIR OWN LinkedIn account, taking the blame for the spam, and explaining that their applicant victim was deceived and did not send that spam. Nothing less is fair to all the victims involved.