Ships accidentally running into bridges is a fairly common event. Most of the newer bridges have a diamond of protective rubber barriers surrounding the supports. And all ports will typically have tug boats to guide them past a certain point.
However, those are typically kept in or near the actual port, and probably take a while to get anywhere far from shore. This is probably at some level a fault of the ship and their crew. It could be a failure to keep their equipment in working order, but the majority of near port collisions are due to ships not following or knowing the ports guidelines on speed or navigation.
I find it a bit odd that they would blame it on losing power, but they still managed to hit it head on with enough speed to knock it over.
As an emergency system, you could fire drones at the ship that embed or magnetically attach themselves near the water line, to change the flow direction.
Obviously this requires a simulation that you trust to pick a better path and not make things work.
It would be like when you’re in a canoe and need to make an emergency turn and you just jam your paddle over the side and crank on it like a pry bar.
There’s got to be some way of quickly deploying a new fin to a moving ship to change its heading.