A euphoric surge in the stock market on Wednesday sent the net worths of the world's richest people skyrocketing.