Here are two facts that defy logic: By the end of the year, electric-car maker Tesla Inc. will have burned through more than $10 billion without ever having made 10 cents. Yet companies around the world are lining up to compete with it.