video games companies

How do companies make video games where you never run out of things to do in the game?
Provide incentives for the collection object of the game and complete a large number of tasks. It is a problem though. And some developers are trying to make smaller, shorter games so that patrons can be confident they are buying something they can complete and then have time to buy new games. The online games that demand monthly payments need for endless things to do though.