This question already has an answer here:
In the future a Man was involved in an accident and lost the lower half of his body. He gets a Prosthetic that replaces everything from his waist down. The prosthetic is also cybernetic, (an AI of sorts)
One specific scene I remember is the man was trying to get something from a storage tank/container. (I think it was a rail car) He is half way into the opening trying to reach inside when the hatch closes right on his hips crushing him. (I do not remember if this was the accident that caused him to get the prosthesis or if this accident destroyed his prosthesis. I THINK this destroyed his prosthesis, I vaguely remember his legs AI telling him this was a bad idea to reach in the container)
- I think cryogenic storage is involved in the story. I think he had an accident or illness that caused him to lose his lower body, and was frozen until they could heal him. When he awakened, [ran out of money? Society no longer interested in storing frozen people?] they could not fix him and gave him the prosthesis instead.
- He may have re-entered cryo hoping to find a way to replace his prosthesis, and when he awakened again he could still not be fix, I THINK this is when he was reaching into the storage tank and his prosthesis was crushed. I recall at this point, that either he could not afford a replacement or tech had devolved so that no one could make a replacement. And for a time he was dragging himself around by his hands.
I think he was a bit of a miscreant or minor troublemaker. (would not follow the rules, ie he did not need anything from the storage tank, he was doing it because he wanted to)
This would have been a book in English, Published in Paperback in the USA.