People keep saying this like it's something that frequently happens in passenger cars. Oh, yeah, someone put 300,000 miles on a car and then put the engine in for an overhaul to keep on truckin'.
No one does that. Or almost no one does that. These aren't semi tractors where rebuilt engines are frequently fitted to dodge new emissions regulations and the cost of buying new. Passenger cars routinely rust/fall apart around the engine. I can count two people I've known in my life that had an engine rebuilt. One was a Chevy Astro van that they had a guy do a ring job and light rebuild on a weekend because it was cheap enough to make it worth it for a vehicle that was otherwise fine. The other was a Chevy Equinox with the POS made-in-China engine that dropped a valve, so a Jasper rebuilt engine was in order for a vehicle with only 40,000 miles on it.
Everything else becomes worthless to say you're going to overhaul and engine and keep the same vehicle. Technology is advancing enough that people desire new cars to get the latest Bluetooth satellite radio whatever. Or their car has tons of rust. Or the brakes, struts, tires, etc. are also all clapped out and it's another $2,000 to fix all that.
These mythical engine rebuilds for long-term car ownership just don't happen.