Tech entrepreneur Elon Musk has smoked marijuana live on the web during a podcast with comedian Joe Rogan.

Mr Rogan offered his guest the drug, which is legal in California, as the pair discussed tech innovation and the public's perception of Mr Musk.

"I mean, it's legal, right?" asked the Tesla founder, before taking a drag on the joint.

Last month, Mr Musk said he was not "on weed" when he tweeted about plans to make Tesla a private firm.

The business leader made the comments in an interview with the New York Times.

He also told the newspaper he works "120-hour weeks" and takes sedatives.

His controversial plans regarding Tesla's ownership were dropped about two weeks later.

'Is it legal?'
During the podcast, Mr Rogan offered Mr Musk a joint, which he said contained a mix of tobacco and marijuana - dried leaves and flowering parts of the female cannabis plant.

Of 50 US sates, recreational cannabis remains illegal in 41 - but it was legalised in California, where the podcast was filmed, in January.

"Is that a cigar?" asked Mr Musk when his host first proffered the joint.

The pair also enjoyed whiskey during the podcast recording.

Mr Musk pointed out: "Alcohol's a drug."

During their conversation, Mr Musk talked about his health and his management of Tesla - which he said was the most challenging of his various businesses and projects.

To close the podcast, Mr Musk was asked if he had any concluding remarks.

"I think people should be nicer to each other," he said.

"And give… give more credit to others and don't assume they're mean until you know they're actually mean.

"It's easy to demonise people, you're usually wrong about it, people are nicer than you think."