Musk also considered a 10-20% stake in the Swiss mining company Glencore.