With the game closed, rename the folder "The Sims 4" you will find inside Documents/Electronic Arts. You can name it "The Sims 4 no worlds", for example.
Then open the game again and create a new family. If you uploaded your created sims to the gallery, you can use them.
Do the worlds look fine in this new game?
- If so, close the game and move the "Tray" folder from "The Sims 4 no worlds" to the new "The sims 4" folder in Documents/Electronic Arts that the game has just created. That way you will move the families you saved in your library from the corrupt game folder to the working folder. Did you do something more than families? Tell me and I will tell you which other folders you need to move. I'm assuming you didn't save the game as you couldn't move your sims to a house.
- If the worlds keep being wrong, then you can close the game, remove the new created The Sims 4 folder and rename "The Sims 4 no worlds" to "The Sims 4" again.
Good luck!