President Trump said he might “take” Cuba while the island faces blackouts and considers opening its economy to foreign investment amid a worsening humanitarian crisis.