Saudi Arabia’s most prominent investor, he had been detained in the Ritz-Carlton in the capital after being arrested on corruption charges.