US president blasts long-delayed project to link Los Angeles and San Francisco as 'boondoggle' and 'train to nowhere'.