U.S. President Joe Biden has advised Israel against striking Iran's oil facilities, saying he was trying to rally the world to avoid the escalating prospect of all-out war in the Middle East.