BNSF & UP tracks are very close, within a couple of miles. Used to live just a few blocks from the BNSF tracks, but we moved in 2013. KCS, NS, & CP all come to town in one part of it or another. Those tracks are much further away, probably 25-30 miles. More toward the downtown area and east of Kansas City. NS goes to the BNSF Argentine yard for intermodal service. That is a little closer to where I live.
Seems like CN or maybe CSX came here too, but I can't find any evidence of that just now. I do see their engines quite a bit though, but they are on BNSF tracks and part of BNSF trains.