US President Donald Trump takes a swipe at the Obama administration for the loss of American space capabilities.