Not so terribly long ago, Elon Musk was seen as one of the shrewdest and most successful entrepreneurs around, riding…