The modern approach to building strong AI engines is not fundamentally limited to only 19x19, but can be generalized to larger boards as well.
KataGo is an engine that supports custom board sizes. Here is a post from the author of that engine talking about its performance on larger boards:
2 Likes