At BP’s massive Thunder Horse oil platform in the U.S. Gulf of Mexico, a dog-sized robot called Maggie uses magnetic tracks to creep along pipes connecting...