A Gustav Klimt painting has become the most expensive piece of modern art ever after it was sold at auction.