Although Amber Heard is busy with court proceedings amidst her bitter divorce battle with Johnny Depp, the actress was reportedly spotted spending some quality time with billionaire Elon Musk. The Tesla CEO and The Danish Girl star were seen at the SpaceX founder's hotel bungalow in Miami.

A source told TMZ that both Heard and Musk are long-time friends, but it is her divorce battle with Depp that has brought them together. The website stated that "they've [Heard and Musk] been spending a lot of time together". But an insider has claimed that the 30-year-old is not dating the Canadian-American business magnate.

"Just last weekend, Amber and her sister were hanging out in Elon's hotel bungalow in Miami. She had a 1-on-1 dinner at his L.A. house 2 weeks ago. She recently went to Elon's L.A. area office to spend time with him. And he's paid several visits to her home," TMZ quoted a source as saying.

A few months back, the billionaire's wife, British actress Talulah Riley filed for divorce from the 45-year-old business tycoon.

They got married in 2010, but Musk announced that they were separating in 2012. However, in 2013 they remarried only to separate after Riley filed for divorce this year.

Meanwhile, New York Post's gossip website Page Six cited an eyewitness as saying that Heard and her sister were seen with the Tesla CEO over the weekend. "Amber was there with her sister. She has been friends with Elon for four years. She had rented a standard suite at the hotel, and he had a bungalow, a poolside duplex room. He offered Amber and her sister use of his room so they could use the pool and have extra privacy, as he was working on a rocket launch."

Depp and Heard's divorce turned ugly after their courtroom arguments were made public. The recent development is that the 53-year-old has reportedly filed papers to protect the privacy of the case after his estranged wife refused to sign a confidentiality agreement and sought financial information.

The couple met each other while filming The Rum Diary in 2012 and got married three years later. However, after 15 months of marriage, Heard filed for divorce. She also obtained a temporary restraining order against the actor alleging that he physically abused her.

Amber Heard and Johnny Depp
Amber Heard and Johnny Depp were married for 15 months before the actress filed for divorce in May 2016Giuseppe Cacace / Getty