A 28-year-old man has been arrested for stealing a public bus and driving nearly 400 km from Bangkok to northeastern Thailand to see his girlfriend, police say.