Elon Musk is facing online criticism after citing his partner and children while rejecting racism allegations during an interview with The Economist.