Saudi Arabia has shut down a major pipeline a day after it was attacked by Iraqi drones on Thursday.