Crane ships exist.
Look up Sleipnir and Thialf or the Saipem 7000.
Tho probably smaller crane ships would suffice anyway as they won't need heavy load cranes for removing containers.
Tho if it's that badly lodged, it's kinda fucked because getting enough crane capacity in place, plus actually unloading the ship will probably take weeks.