SpaceX would get considerably more than $10M in marketing / brand goodwill by donating to a museum. So for the first 1 or 2 decommissioned rockets, I think donation beats scrap ROI.
i've been to boca chica, starhopper and the older starships are quite literally parked on the side of the road. I bet if you showed up with the gear to move them they'd probably just give them to you ;)