For decades, refinery maintenance relied heavily on periodic inspections, manual monitoring and scheduled interventions.