Leadership didn’t necessarily want this, shareholders did. Musk paid a huge premium in perhaps the worst takeover deal in a decade.
If the ceo and board had not taken the deal they would have been (rightly) ousted by the shareholders who lost tons of money.