China becomes world’s second highest investor in R&D