Former first minister Humza Yousaf has accused Elon Musk of seeking to “inflame racial tensions” with a reference to the infamous murder of Kriss Donald in 2004.