NEW YORK (AP) — Amazon is buying MGM, the movie and TV studio behind James Bond and “Shark Tank,” for $8.45 billion.