A tram was set on fire in western Amsterdam, with police saying it was not clear if it was linked to unrest last week.