Imho to what generation the NX belongs will only be able to be said in retrospect. It remains to be seen what its main competition will be:
- if most NX units/games are sold after other "9th gen" consoles are released, then it's clearly a 9th gen console
- if most NX units/games are sold before the PS5 or XBox "Two" release it will be more complicated:
either you classify the NX as the sole 9th gen console, making the PS5 and Xbox "Two" 10th gen consoles; or you say that the NX is a 8.5th gen console (maybe together with the PS4K and Xbox 1.5); or you say that the NX also belongs to the 8th gen as it sold most units/games competing with other consoles from that time period.
In the meantime I guess it's most useful to see it as a 8.5th gen console, even if that sounds slightly awkward.