This is probably a dumb question. I'm not a physicist and took basic physics a very long time ago.
If an object was in deep space, a long way away from gravitational fields and was subjected to a constant 1g acceleration in a straight line what prevents it from eventually exceeding light speed...