Both come from English.
In Japan, "Bai Bai" is used largely by teenagers, and is considered to be slang. One would not say "bai bai" to one's social superior. It is also considered slightly feminine, and is used more often by girls than by boys.