On Sunday, June 28, a Spacex rocket blew up in less than three minutes after launch: news reports.

Any study of Elon Musk must begin at the headquarters of SpaceX, in Hawthorne, California – a suburb of Los Angeles located a few miles from Los Angeles International Airport. It’s there that visitors will find two giant posters of Mars hanging side by side on the wall leading up to Musk’s cubicle.

The poster to the left depicts Mars as it is today – a cold, barren red orb. The poster on the right shows a Mars with a humongous green landmass surrounded by oceans. The planet has been heated up and transformed to suit humans. Musk fully intends to try and make this happen. Turning humans into space colonizers is his stated life’s purpose.

“I would like to die thinking that humanity has a bright future,” he said. “If we can solve sustainable energy and be well on our way to becoming a multiplanetary species with a self-sustaining civilisation on another planet – to cope with a worst-case scenario happening and extinguishing human consciousness – then,” and here he paused for a moment, “I think that would be really good.”

If some of the things that Musk says and does sound absurd, that’s because on one level they very much are.

On this occasion, for example, Musk’s assistant had just handed him some cookies-and-cream ice cream with sprinkles on top, and he then talked earnestly about saving humanity while a blotch of the dessert hung from his lower lip.

Musk’s ready willingness to tackle impossible things has turned him into a deity in Silicon Valley, where fellow CEOs like (Larry) Page speak of him in reverential awe, and budding entrepreneurs strive “to be like Elon” just as they had been striving in years past to mimic Steve Jobs. Silicon Valley, though, operates within a warped version of reality, and outside the confines of its shared fantasy, Musk often comes off as a much more polarising figure.

He’s the guy with the electric cars, solar panels, and rockets peddling false hope. Forget Steve Jobs. Musk is a sci-fi version of P. T. Barnum who has gotten extraordinarily rich by preying on people’s fear and self-hatred. Buy a Tesla. Forget about the mess you’ve made of the planet for a while.

I’d long been a subscriber to this latter camp. Musk had struck me as a well-intentioned dreamer – a card-carrying member of Silicon Valley’s techno-utopian club. This group tends to be a mix of Ayn Rand devotees and engineer absolutists who see their hyperlogical worldviews as the Answer for everyone. If we’d just get out of their way, they’d fix all our problems. One day, soon enough, we’ll be able to download our brains to a computer, relax, and let their algorithms take care of everything.

Much of their ambition proves inspiring and their works helpful. But the techno-utopians do get tiresome with their platitudes and their ability to prattle on for hours without saying much of substance. More disconcerting is their underlying message that humans are flawed and our humanity is an annoying burden that needs to be dealt with in due course. When I’d caught Musk at Silicon Valley events, his highfalutin talk often sounded straight out of the techno-utopian playbook. And, most annoyingly, his world-saving companies didn’t even seem to be doing all that well.

Yet, in the early part of 2012, the cynics like me had to take notice of what Musk was actually accomplishing.

His  once beleaguered companies were succeeding at unprecedented things. SpaceX flew a supply capsule to the International Space Station and brought it safely back to Earth. Tesla Motors delivered the Model S, a beautiful, all-electric sedan that took the automotive industry’s breath away and slapped Detroit sober.

These two feats elevated Musk to the rarest heights among business titans. Only Steve Jobs could claim similar achievements in two such different industries, sometimes putting out a new Apple product and a blockbuster Pixar movie in the same year. And yet, Musk was not done.

He was also the chairman and largest shareholder of SolarCity, a booming solar energy company poised to file for an initial public offering. Musk had somehow delivered the biggest advances the space, automotive, and energy industries had seen in decades in what felt like one fell swoop.

It was in 2012 that I decided to see what Musk was like first- hand and to write a cover story about him for Bloomberg Businessweek. At this point in Musk’s life, everything ran through his assistant/loyal appendage Mary Beth Brown. She invited me to visit what I’ve come to refer to as Musk Land.

Anyone arriving at Musk Land for the first time will have the same head-scratching experience.

You’re told to park at One Rocket Road in Hawthorne, where SpaceX has its HQ. It seems impossible that anything good could call Hawthorne home. It’s a bleak part of Los Angeles County in which groupings of run-down houses, run-down shops, and run-down eateries surround huge, industrial complexes that appear to have been built during some kind of architectural Boring Rectangle movement. Did Elon Musk really stick his company in the middle of this dreck?

Then, okay, things start to make more sense when you see one 550,000-square-foot rectangle painted an ostentatious hue of “Unity of Body, Soul, and Mind” white. This is the main SpaceX building.

It was only after going through the front doors of SpaceX that the grandeur of what this man had done became apparent. Musk had built an honest-to-God rocket factory in the middle of Los Angeles. And this factory was not making one rocket at a time. No. It was making many rockets – from scratch.

The factory was a giant, shared work area. Near the back were massive delivery bays that allowed for the arrival of hunks of metal, which were transported to two-story-high welding machines. Over to one side were technicians in white coats making motherboards, radios, and other electronics. Other people were in a special, airtight glass chamber, building the capsules that rockets would take to the Space Station.

Tattooed men in bandanas were blasting Van Halen and threading wires around rocket engines. There were completed bodies of rockets lined up one after the other ready to be placed on trucks. Still more rockets, in another part of the building, awaited coats of white paint. It was difficult to take in the entire factory at once. There were hundreds of bodies in constant motion whirring around a variety of bizarre machines.

This is just building number one of Musk Land. SpaceX had acquired several buildings that used to be part of a Boeing factory, which made the fuselages for 747s. One of these buildings has a curved roof and looks like an airplane hangar. It serves as the research, development, and design studio for Tesla. This is where the company came up with the look for the Model S sedan and its follow-on, the Model X SUV.

In the parking lot outside the studio, Tesla has built one of its recharging stations where Los Angeles drivers can top up with electricity for free. The charging center is easy enough to spot because Musk has installed a white and red obelisk branded with the Tesla logo that sits in the middle of an infinity pool.

It was in my first interview with Musk, which took place at the design studio, that I began to get a sense of how he talked and operated. He’s a confident guy, but does not always do a good job of displaying this.

On initial encounter, Musk can come off as shy and borderline awkward.

His South African accent remains present but fading, and the charm of it is not enough to offset the halting nature of Musk’s speech pattern. Like many an engineer or physicist, Musk will pause while fishing around for exact phrasing, and he’ll often go rumbling down an esoteric, scientific rabbit hole without providing any helping hands or simplified explanations along the way. Musk expects you to keep up.

None of this is off-putting. Musk, in fact, will toss out plenty of jokes and can be downright charming. It’s just that there’s a sense of purpose and pressure hanging over any conversation with the man. Musk doesn’t really shoot the shit. (It would end up taking about thirty hours of interviews for Musk to really loosen up and let me into a different, deeper level of his psyche and personality.)

Most high-profile CEOs have handlers all around them. Musk mostly moves about Musk Land on his own. This is not the guy who slinks into the restaurant. It’s the guy who owns the joint and strides about with authority.

Musk and I talked as he made his way around the design studio’s main floor, inspecting prototype parts and vehicles. At each station, employees rushed up to Musk and disgorged information. He listened intently, processed it, and nodded when satisfied. The people moved away and Musk moved to the next information dump.

At one point, Tesla’s design chief, Franz von Holzhausen, wanted Musk’s take on some new tires and rims that had come in for the Model S and on the seating arrangements for the Model X. They spoke, and then they went into a back room where executives from a seller of high-end graphics software had prepared a presentation for Musk.

They wanted to show off new 3-D rendering technology that would allow Tesla to tweak the finish of a virtual Model S and see in great detail how things like shadows and streetlights played off the car’s body. Tesla’s engineers really wanted the computing systems and needed Musk’s sign-off.

The men did their best to sell Musk on the idea while the sound of drills and giant industrial fans drowned out their shtick. Musk, wearing leather shoes, designer jeans, and a black T-shirt, which is essentially his work uniform, had to don 3-D goggles for the demonstration and seemed unmoved.

He told them he’d think about it and then walked toward the source of the loudest noise – a workshop deep in the design studio where Tesla engineers were building the scaffolding for the thirty-foot decorative towers that go out- side the charging stations. “That thing looks like it could survive a Category Five hurricane,” Musk said. “Let’s thin it up a bit.”

Musk and I eventually hop into his car – a black Model S – and zip back to the main SpaceX building. “I think there are probably too many smart people pursuing Internet stuff, finance, and law,” Musk said on the way. “That is part of the reason why we haven’t seen as much innovation.”

Excerpted with permission from Elon Musk: How the Billionaire CEO of Spacex and Tesla is Shaping our Future, Ashlee Vance, Virgin Books.