The Z-mount situation is not great (AFAIK the short version is that Nikon only allows third-party Z-mount lenses that don't directly compete with existing first-party Z-mount lenses), but at least it's better than the Canon RF-mount situation. Canon currently doesn't allow third party RF lenses, period.
But yes both are blown away by far by the huge variety of third party E-mount lenses now available.