One Punch Man's first season was so popular, so how did they manage to make each season worse in production quality than the last? Setting the story aside, the special effects in season three are just ridiculous, aren't they?
Is it that Japanese capitalists are being stingy and unwilling to invest money, or is it that anime just doesn't make money?

The OP mentions that the third season's special effects are a mess, but the claim that each season is worse than the last might need some verification first. The production teams, schedules, and budget arrangements for the second and third seasons were quite different, and sometimes the visuals looking worse isn't entirely a money issue—it could also be that the schedule was too tight or that the main animators were pulled away to other projects. Also, there's no inherent positive correlation between "being popular" and "production quality"; good commercial performance doesn't necessarily mean the sequel will get a bigger budget.