There is no difference in reference to what you are suggesting between live and online. Program randomly selects all cards, on every street. Every hand played can be found online. If it were as you suggested, people would recognize the anomaly. Poker client has no reason to run an "algorithm" to cheat players. If it was discovered, they would be out of business.
If you really think this is happening, why would you want to play? Go buy a lottery ticket instead. I'll answer the question you did ask however. My river
hands going to showdown are with in the
odds of the hand winning with a large hand history. It was the last time I checked.