My laptop keyboard died, and it's out of warranty.
Instead of buying an expensive new one for a couple of thousand, I bought a cheap 2.5k resolution laptop, with an older processor, for 425 Euros.
Then I set up a VM on Azure for development, as and when I need it. Works out really well - if I need to develop while travelling, I can spin up the VM in a minute, and scale it however I want. It's also a backup dev environment for my main workstation.
Everything is automatically backed up, multiple times. I can access it from anywhere there is an internet connection.
If laptops were upgradeable, I would consider investing more in them; but for now, using it as a portable screen and keyboard, with remote processing power, is pretty good.