We're not far off having adaptive autonomous pipe welding in-situ.
https://www.thefabricator.com/thefabricator/article/tubepipe...
https://www.youtube.com/watch?v=tLx3oDt9Who