Funnyman Jason Bateman has bought late Tv and movie legend Ernest Borgnine's Beverly Hills home for $3 million (£1.9 million).