Well I would recommend you to go with a laptop, but still, if you want to buy an Xbox or PS5, my suggestion would go with PS5.
If we talk about the PS4 PS4 you can even connect your laptop with it and start playing game.
You just need to search " use laptop screen as the PS4 " and you will...