As another commenter said, it depends on where you are based. European or Japanese models not available elsewhere. USA doesn't have any Chinese brands.
Many of those 20-30 year old cars may be in need of a lot of repair. You can take a car you're serious about to your own mechanic to see if it has oil leaks, good cylinder compression, doesn't have thick gear oil to hide the engine knock issue, etc.
On new Toyotas, you can remove the fuse labeled DCM (data communication module) to disable the cell connection to the internet. You'll get a light showing a phone with a line through it after pulling the fuse.
I am not sure exactly, it depends on the brand but they started adding internet connections roughly around 2011-2015. You can find out for the specific make & model you're interested in.
Whichever route you go, hopefully you find a car that has 70,000 miles or so to get a lot of life out of the car.
And do a transmission fluid change before 90,000 miles. Not a transmission fluid flush. I got lucky buying my 2nd car from a guy selling it for his elderly parents -- there were no issues with it ever. But, for many cars available, you're buying some one else's problems and it could have a big issue.