Trump said American oil companies would be allowed to tap Venezuela’s vast crude reserves after a US military operation led to the capture of President Nicolás Maduro.