Elon Musk has lashed out at the UK after reports he had been snubbed by a government investment summit.