Apple Inc., -0.02 % which is working to build an electric car, has held talks about investing in British sports-car maker McLaren Technology Group, according to a person familiar with the matter, but McLaren denies any talks are ongoing. The person familiar with the matter said the discussions began “several months ago” but wouldn’t discuss whether they are ongoing. For its part, McLaren said in a statement, “McLaren is not in discussion with Apple in…