>So now both, you and the other shareholder think they own the same share in Tesla.
If I have an account with a stock-loan feature, and my broker lends a short-seller my share then I no longer own the share. We can tell that because, for example, I no longer have the voting rights associated to the share, and, if a dividend were declared (forget we're talking about TSLA obviously) then I wouldn't receive it from the issuer; but from my broker (who gets it from the short-seller).
The short-seller then sells the share to someone else. They own that share then as the holder of record.
Isn't it all an abstraction by your broker anyhow? They just show you pixels on your screen, that you have "received" dividends. But its not like Tesla sent them to you. Its just an illusion your broker creates on your screen.
The difference between receiving a dividend paid to the beneficial owner of stock and receiving a payment-in-lieu of a dividend is very much not illusory - there can be significant tax implications.
Some brokers will lend out your stock holdings (usually it's in T&C or you have the option to opt-in to lending for a cut of the interest) to short sellers
These short sellers sell the borrowed stock and hope its price drops and they can buy it back for cheaper.
As shares are fungible, the borrowed share the short-seller has sold gets bought by someone, so two people "own" the same share. In reality, two people are owed a share by the broker, the broker owns a share, and the broker is owed a share by the short-seller, so everything adds up
The short-seller will have posted collateral and if the price of the stock rises too much the broker will force them to sell the collateral to repay their borrowed stock.