I would consider them a few different genres, but they are easily my favourite types of games these days. I cateogrize them in my steam list as below.
-Colony Builders: Games about building well, a colony, often from little to nothing. Often lots of You vs Environment friction, with the natural world. Tends to have a bit more focus on the individuals that comprise the colony. Examples: Rimworld (my favourite game of all time), Dwarf Fortress, Oxygen Not Included, Stranded Alien Dawn, Space Haven.
-City Builders: A bit broader in scope than a colony builder, working more on the macro level. Friction is often economic, sometimes adjusted with the natural world. Cities Skylines is kind of the prime exampe of this, but also games like Timberborn or Anno.
-Automation: Games about building a factory that...builds things automatically. Challenge tends to be logistical complexity but some games do feature combat as well. Factorio, Dyson Sphere Program (my personal favourite), Satisfactory, and Captain of Industry are the Four Horsemen of this genre to me. Techtonica is very early still but seems to have some promise as well.
For many of these games, there is a whole world of content to explore if you are interested in mods. Rimworld players regularly run hundreds of mods, my current game has about 350. Factorio has extensive overhaul mods that can take literally thousands of hours to finish in some cases (Py's). Satisfactory has a surprisingly robust mod scene for an early access game too.