Mosques and transport hubs will get extra police as the Hanau killings are seen as racist terror.