The Rockefeller Foundation, a 107-year-old philanthropy built by oil tycoon John D. Rockefeller, says it will completely break with the fossil-fuel industry that seeded its wealth.