I had one of OcUK's super-special GTX 970s with the coils glued or whatever it was they were advertising. It still whined (or rather buzzed, as is much more common in my experienced). Buildzoid actually did a video about the cause of coil whine that's fairly interesting:Why can't something be done in manufacturing to mitigate or stop this entirely? When this first started to occur on cards a good few years back some manufacturers were encasing the components in a glue type substance and others in a type of plastic to stop the noise, now it just seems they don't bother and it's a crap shoot if you get a card that does it or not.
Used to be you could also rma due to this, but now it's such a common issue the card would have to be smashing glass with it's pitch to get it replaced.
The TL;DW is that modern cards tend to have more coil whine because the types of inductors that are most prone to causing it are also the ones with the best physical and electrical properties. You can get ones that rarely suffer from it at all, but they're larger and can't handle as much current, so they rarely get used any more. GPUs are also just inherently prone to causing coil whine due to the way that they work electrically.