In most companies, the CEO reports to the chairman of the board and the chairman of the board reports to the shareholders ( particularly the major shareholders ).
The biggest TSLA shareholder is elon musk and many of the large shareholders are friends/backers of elon musk.
So this is a purely superficial move for optics.
She gets a nice sinecure with a fat paycheck. Musk gets the feds off his back.