both could be done, they just don't want to
Not really. The amount of money available to spend is not unlimited, especially at these interest rates.
A billion pounds towards hospitals is better than a billion pounds towards a collider. People are struggling to even see a dentist. The NHS is in a deep hole and it needs a lot of money to dig it out of it.
imo nhs and uk's rail network are not failing because pure lack of money, they are failing because uk's govt decided to fail them. Uk does have a lot of money, and a lot of money are spent either unoptimally or entirely wrong. Spending money on a collider is not wrong, deliberately underfunding pub transport and promoting car use for any usecas is wrong because the final costs for maintaining this infra & developing it are much higher.
No, it is not wrong. I think your statement comes from a rather short sighted view on scientific and technological developments. We need progress as a society and as humankind to develop and further advance our (currently rather poor) state of affairs (on a global scale). Be it technological (where new tech can actually improve stuff considerably) or 'just' on the understanding of things, i.e. knowledge'.
The comparatively small research budgets would not have any noteworthy impact on dysfunctional systems such as healthcare anyway.
EDIT: Actually, I am not pro this new CERN machine. I think, there are other scientific things where it would make more sense to fund them.
Leave the particle colliders for rich countries to fund.