What happens if medical bills exceed policy limits is that the victim can look to other places to receive the compensation they deserve. The victim has the right to seek compensation that represents the full amount of their losses. They are not limited by the fact that the defendant has a certain auto policy limit amount.
If medical bills exceed policy limits, the victim can seek payment from any other source that may be available, either through the court system or independently.