President Donald Trump has complained about the U.S. relinquishing control of the waterway to Panama more than 20 years ago.