It’s a dramatic turnaround since last May, when Musk said he intended to cut back on future political spending.