Lots of revisionist history going on.
The draft lottery was not instituted to prevent the lowest team in the standings from getting the top pick. Not was it started to guard against teams selling at the deadline. Those things are not, nor have they ever been part of what tanking really is. (Tanking is now just largely a misnomer that many people use for any vague association with fans of bad teams hoping to end up with a very high draft pick.)
The lottery was started to prevent things like:
* Benching players for playing well;
* Trading players at the first sign of playing well;
* Deliberately instructing players to throw a game(s); and
* Any other actions of overtly (and sometimes even publicly) attempting to lose games.
There was not a single team this year who tanked (in the sense of why there's a draft lottery). Any notion that Detroit "gave it their all", while one or more of OTT/LA/NJ/BUFF/NYR "gave up" is nonsense and even a bit egocentric. All of the above teams are at or near the bottom of the league for overall talent, and finished accordingly, with the extra hot or cold streak here and there as variation.
The least talented teams SHOULD get the best draft picks. Honestly, if the NHL was really doing their job, there would be zero need for a lottery in the first place, because the league established a Competition Committee back in 2005, WHOSE SOLE FOCUS IS ENACTING RULES IN THE NAME OF COMPETITIVE BALANCE! So just draft in reverse order of the standings with no lottery, and have the committee actually commit to de-incentivizing any lack of effort in other ways, whether via fines or even outright loss of draft picks altogether.