Localhost will always be free, and the cloud will always have a cost. For that reason alone, localhost isn't going anywhere.
So I would agree localhost can be basically free, only that company has to keep developers in-house and not burn through 10 juniors each quarter.
If company wants to burn through people like Amazon in warehouses then having cloud dev-env is way to go.
Just automate localhost development environment deployment.