Fundamental problem is that the AI plays perfectly insofar as it matters. It might hit an asteroid once or twice, but those don't slow it down at all, so it doesn't affect the outcome. It also dodges every missile the player fires, so that powerup is completely worthless.
It comes down to getting more boosts, by random chance, than the bot does.