Gecko Robotics Inc., a startup providing robots to help industrial companies inspect infrastructure and prevent accidents, raised $40 million in venture funding.

The deal comes as more large industrial corporations are turning to artificial intelligence and robotics startups to leverage new technology and gain new business insights.

Gecko’s...