Free software and open source did a lot to change that. GCC for example. Linux becoming popular also helped. Then as interpreted languages became popular, with perl, python, etc., all free and under permissive licenses. Java was free for personal use then with commercial licenses IIRC? Even Microsoft started having "express" editions or compiler-only without IDE. I'd say by the 2000s decade compilers were no longer a cash cow.