I mean, this is straight up not true. The closest truly wild house cat is a weirdo that looks like a lanky house cat, and house cat brains are physically smaller and dumber than wild ones. Also need I point out how cats also have their pug versions complete with health issues normal cats don't have?
They didn't just come inside. They also infected us with brain parasites that makes us like cats, and learnt to meow in specific frequencies that make us treat them like human babies...
Cat domestication is mainly about making them small enough so that when they randomly decide to slap your face with their clawed paws you wouldn't die.
My brain just went down a rabbit hole of of breeds vs strays and whether it's fucked or not and how the world would look if people treated cat breeding like they did dog breeding and how things would change.
No offense to anyone who has a cat, but one of the reasons I have dogs is that they'll probably wait until they get really hungry before they decide to eat your face if you die at home alone.