Comments by US President Donald Trump were criticised by autism campaigners and scientists in the UK and around the world.