An oil storage company has been fined after contractors cut into a sealed pipe causing a tank to explode.