Major League Baseball is giving $6 million to community efforts in the Los Angeles area ahead of the Dodgers hosting the All-Star Game next month.