National security advisor Michael Waltz “has learned a lesson,” President Donald Trump told NBC News in a phone call.