It's not a solution. The problem is that emergency services aren't always available to those who need them; if you attach the possibility of a fee to the service then you have ensured that problem exists forever.
Means-testing for public services? Please no. Means testing introduces bureaucratic hurdles, and the cost of determining and enforcing means limits can be up to 10x the actual amounts paid out. https://www.theguardian.com/social-care-network/2013/jan/14/...