Really hard to tell. Games I've bought perhaps 1500-2000 something like that. Average cost per game will be quite low though, there's probably only 100-200 games that I will have paid £20+ for.
Console hardware about £1.5k. Mostly a waste of money, for example I bought a PS4 six years ago but literally have not played any games on it yet I don't think, just used as a media player (which I could just as easily have used the Xbox One for). Should've not bought it at all and waited for PS5.
PC hardware (not exclusively for games, but predominantly so), maybe about £8-9k. Didn't think it would be that much but I guess if you consider I've bought perhaps 10 'core upgrades" costing maybe £350 each on average, £1500 worth of monitors, perhaps £2.5k of GPUs, then at least another grand on disk drives, peripherals etc. In fact those ancillary items probably add up to a lot more than I'd first think, what with SSDs, even stuff like CD Burner, DVD Burner, PSUs etc.
So in total it would be over £10k on PC/Console hardware. Not actually that bad considering it dates back the 90s, about £500/year average, some people will have spent more than that on holidays over the same time period.
Definitely got more value out of PC than consoles, I basically ignored all consoles between the SNES/Megadrive and the Wii, but then got suckered into buying 'bargain' offers on the PS3/Xbox360, which to be fair I did enjoy playing on, followed by the next generation of consoles for more money that I've not used much. At least with the Xbox One my son has played on it a fair bit.
edit: I reckon if I could actually add up ALL the costs, I'd probably find I've massively underestimated somewhere and I could well have hit over £10k just on PC hardware.