An advancement in technology won't lead to that.
The entire industry isn't driven purely by profit, shockingly SOME companies make games not only because they'll sell, but because it's what they want to make, and what the fans will want as well.
As long as there are people to play RPGs, they'll still exist, and I seriously doubt that the Japanese will cease to place RPGs as their preferred genre.