Monopolies are not illegal per se.
Misusing monopoly power is illegal.
Nvidia has monopoly in the market, but unless they use their position illeagally, that's OK. GPU market is competitive and Nvidia has put in the work others like AMD or Intel never bothered to do.