One of the oldest scientific organisations in the world may have to sell off its home in Mayfair.