Baidu chief Robin Li says China must be more welcoming to foreigners if the nation is to draw the best tech minds and challenge Silicon Valley