US president attacks oil major’s chief executive over his scepticism about investing in South American country