Police in the eastern Chinese city of Wuxi say a former student has killed eight people and injured 17 others in a stabbing spree.