That’s because a huge amount of NHS services are outsourced ( lots of health and social care providers are privately owned) and before you make assumptions much of this was started under Gordon Brown and Blair.
Ultimately the NHS is the third biggest employer in the world and the spending doesn’t always include salaries. It’s not underfunded.