2 engines are far cheaper than four.
Not only that, but 747s engines are less efficient that the newer designed engines that have more power and better fuel economy.
Then add on lighter plane weight due to composite body design...