One thing to add to what others have said:
After having done these three or four very questionable things, people realized that YouTube's algorithm was essentially sending Pewdiepie's viewers down a radicalization pipeline. The algorithm would start recommending alt-right content to people who had watched Pewdiepie videos.
He himself still at that point made fun of the journalists who reported on this, essentially showing the stance of "I am not responsible for what my viewers do" and "I am not a Nazi and I am not radicalizing anyone".
In response to the fiverr video in 2017 he was dropped from his partner network and his Youtube Red show was cancelled midway into production. Additionally in what was called "adpocalypse", advertisers forced Google to disable ads from being shown on controversial videos.
And then in March 2019 a Nazi terrorist livestreamed himself shooting 50 people in two mosques in New Zealand. Before starting to shoot, the terrorist screamed "Subscribe to Pewdiepie!" This was the point where he finally seemed to wake up to the fact that some of his viewers actually were far-right extremists. And he stopped doing any edgy stuff that could be interpreted as being pro-Nazi.