Mamare Touno's Log Horizon actually takes this "people are trapped in a world where they can't die" and takes it in a positive direction.
As the people realize they can't die, and that trying to see if dying in that world will bring them back to the real world doesn't work, everyone ends up in a state of existential crisis. No one tries to word hard anymore. Basic survival is too easy to accomplish: people can earn enough money per day to feed themselves and stay at an inn.
The main character decides to rebuild society because it's fallen apart due to the lack of motivation in the population, because nothing is worth living for, yet no one can escape through death. He starts creating a proper government to control the people, he starts contacting the "natives" of the land and try to work with them, or end up in a war against them. He tries to figure out the mechanics and laws of the mysterious world they are trapped in.
It's a very positive and fun light novel/manga/anime, considering it's another "trapped in a video game" setting. The author is very well-read on his ability to integrate economics and politics into his works.
It's a story that focuses more on individual characters trying to find meaning to their lives to make it worth living forever, rather than the negatives of "woe is me! I can't die!"