Tesla isn't getting anything. Twitter is getting money. That's the point.
He's moving money from a company that he controls to a company that he owns wholly. In other words, using Tesla shareholder money to get himself out of a tight spot. Sure looks like fraud to me.