Let's say you were walking through a dark hallway, which you were very cautious, then you sensed a long tube of steel that could have tripped you, but luckily it didn't. And you say:
What the... I am lucky! I could have tripped by that steel.
Or
What the... I am lucky! I could have been tripped by that steel.
Which one is correct?