LeBron James has been crowned NBA MVP for a fourth time in his career, narrowly failing to win it with a clean sweep in the voting.