The machine doesn't care about randomness. Poker variants people actually
play get tackled by machines.
Cepheus http://poker.srv.ualberta.ca/about is an approximately perfectly strategy for Heads Up Limit Hold Em. That is, the two player game of Texas Hold Em poker with fixed bet sizes. There are almost certainly other approximately perfect strategies, which would break even against Cepheus over the long term, but you can't beat it. The best an opponent could hope for is to merely get lucky briefly, for which you might just as well play Roulette.
In principle if you could memorise Cepheus you could play the same strategy, but it's basically a vast number of fractions/ percentages so you're not going to -- and it's important to note that while the strategy is unbeatable it is not the best way to extract money from weaker players. If you want to grind money playing poker you need to focus on taking $1000 from that holidaymaker playing $5/$10 before anybody else realises they're soft, not on trying to break even with a machine.
Heads Up No Limit which was still being played a fair amount not so many years back, is crushed by AI. Pluribus beat the best players in the world, comprehensively. Unlike Cepheus, Pluribus doesn't have an incredibly boring yet precise strategy mapped out that you could copy, it's a result of AI learning. Its bet sizing feels a bit weird to humans, but it ends up taking their money, so, whatever.