Science degrees would be among those at risk if fewer students came to the UK, a report warns.