It might still be a couple years before APUs are utilizing DDR5 though. And DDR5 will likely only open up around a doubling of performance of the current models, putting them around the performance level of a GTX 1050, at best.
And of course, the new games getting released a couple years from now will be more demanding, as most big releases will likely be focusing on the next-generation of consoles and more powerful dedicated cards by then.
So sure, maybe APUs using DDR5 will be able to offer up to GTX 1050-like performance, but that's a low-end card that launched at a $110 MSRP the better part of 4 years ago (though most were priced a bit higher). It's been possible to find some RX 570s priced around $130 for a while too, and those are nearly twice as fast as a GTX 1050. And a current-generation GTX 1650 SUPER or RX 5500 XT for as little as $160 will be more than twice as fast as a 1050. And in a couple years, those will likely be replaced by even faster cards in their price range, so integrated graphics won't likely be catching up with lower-end dedicated gaming cards any time soon.