Tips:
Throw the metal barrels at him. It's the only way to hurt him.
Keep your distance; he'll give you a chomp, and throwing a barrel from very short range doesn't deal any damage.
Look up when he shoots the ride spikes; the camera will disappear through the floor and you can see where the next ones will come from.
Run around the edges when he has his robot-seeking whips out; if you run through the middle you will get caught.