US President Donald Trump has criticised Golden State Warriors coach Steve Kerr over the ongoing controversy between the NBA and China.