Musk's SpaceX beat out Jeff Bezos' Blue Origin and defense contractor Dynetics Inc for the contract, according to Reuters. Bezos had partnered with Lockheed Martin and Northrop Grumman Corp.for his bid.
The mission marks the first for NASA targeting the moon since the Apollo mission.
SpaceX raised $1.16 billion earlier in the week in an equity financing, Reuters noted.
Hopefully SpaceX's spacecraft targeting the moon has better luck than SpaceX's Starship SN11, which "failed" during its flight descent in late March. The SN11 flight is similar to prior ones (SN8, SN9, and SN10) in the past four months - all have launched successfully and completed multiple development objectives but usually end in disaster.
Regardless, it's been quite the end of the week for Elon Musk. In addition to SpaceX winning this contract, Musk's favorite crypto, dogecoin, has also "mooned" and is up more than 500% over the past week.