"I wrote one of the open source packages you use!"
"You make software used in my toaster!"
"Your office it two blocks from my house!"
When I was a junior, I wrote cover letters for every job. Now that I'm senior, I haven't written one in years and get more callbacks than ever before.
Still, one could argue that flirting w/ the company a bit at the point you make a first impression, possibly in a cover letter, is in your best interests. If someone needs you, they'll offer to pay what they need to. If someone wants you, they'll pay whatever it takes to retain you. Sometimes those numbers are the same. But if a company would be willing to go the extra mile to make you happy, and you give them no reason to feel that way, you're leaving money on the table.
"Dear Sir or Madam,
<generic blob of text>
Sincerely, <applicant name>"
If you're someone like google or in a very specific niche that I'd like to be in then I'd write a cover letter, but that is not most jobs.
Getting a good job is hard, and you can't always tell from the outside if a job is one you'd want. It doesn't take much time to show genuine interest in any opportunity that's worth applying to, no matter how prestigious the company may be.