APA Corp buys West Texas oil producing land for $505 mln