Foreign companies complain Beijing is reducing access to its markets for electric cars, computer security technology and other promising fields or pressing them to give know-how to potential Chinese competitors.