Of course not. I think you misunderstand, if a game is too similar to real life, I am unsure why I should play it, whereas if it is fairly different, such as an FPS, it becomes much more fun for me. My question is primarily on the former, of why people seem to play a game that basically is like work but has no benefit for them. If it's fun for them, then that's fine, but my question more, why is it fun for them in the first place? That's really what I want to figure out.
Sometimes it's fun to do things when there's no real world consequence attached to failure and experimentation even if the mechanics are similar to something we do for work.
I sometimes do project euler puzzles for fun. I'm a CS professor - this starts to feel kinda close to my job. But it's relaxing and there's no pressure and no one is affected when I screw up; I just get to keep kicking at it, or put it down. The freedom makes a big difference.
The "solving an interesting problem" part of my job is the part I love. It's the other stuff I need a break from sometimes. :)
I think I can answer this to some extend. I kinda feel like you do, that playing factorio is time that I could more productively spend on side projects (especially considering how much time it costs), but I don’t kill bugs in side projects, don’t build train lines, don’t build spaceships. I play factorio because the dopamine hit when something comes together is nearly the same, but the actions I take are different enough to stay fun.
Also, I just think it’s good to not look at something that’s too much like work once in a while. Even if factorio is closer than many other things.
It's fun to solve problems. How do I optimize this sub-factory? - That's the same fun as "how do I optimize this function" but instead of a green light from my test runner one gets a colorful display of a working factory with a visible result. The fact that I reduced memory usage of that function by 10% I don't see in that way. And probably both both are equal in benefit to humanity's progress (zero)