Because not everyone is on containers fashion running full blown clusters on their laptops and 8 GB are more than good enough for enterprise developers.
One doesn't even need to be a developer to fill up 8GB with just a browser, Teams and Slack in the background (or any other Electron apps of their employer's choice).
Another wise choice is not to use anything Electron based unless forced by the employer, or customer, and in that case, it is expected that they pay for the hardware.