President Donald Trump lashed out at the mayor of San Juan and other officials in storm-ravaged Puerto Rico.