This isn't what makes investing in other gTLDs a danger. It's that some are offering registration for pennies, causing them to be almost entirely populated by "bad" domains. For example, .fun is 80% spammy domains, creating a strong incentive for all manner of services to blacklist the entire TLD.
https://www.spamhaus.org/statistics/tlds/