Amazon wins bidding war, pays $10 million for Matt Damon-produced film