Ghaddafi said he is not going to take the controlling share of Juventus. That means Agnelli's still control Juve.
About the cash, Ghaddafi investing doesn't always mean that Juve will get cash from it. There are 3 possiblities:
First, Ghaddafi will buy Juve's share from stock market. This means Juve doesn't get anything from it except the change in ownership from public to Ghaddafi's.
Second, Ghaddafi will buy Agnelli's Juve stock. This also means that Juve will not get cash from this transaction. Only ownership changing from Agnelli's to Ghaddafi,s. This second possibilities that we don't want to happend IMO.
Third, Juventus (on Agnelli's decision) issues more outstanding stock and sell it to Ghaddafi. This means Juve will get some cash. The problem is Ghaddafi share on Juve will increase and Agnelli share will decrease. If then Ghaddafi also buy the stock from public (but this is not easy, because stockholder will increase the price if they know Ghaddafi interested on it), Ghaddafi share will become very significant in Juventus. Juve might have 2 big ownership and also 2 different of thought. This is potentially can become a really big problem for Juve.
I just hope Agnelli will still control Juve and Ghaddafi will only become an nvestor and inject the cash that we need.