Elon Musk unloaded on California's massive high-speed rail project, blasting it as a wasteful boondoggle.