NBA star LeBron James has held talks with David Beckham about investing in his bid to bring a Major League Soccer franchise to Miami.