So what's the problem with that? I go for missile techs myself. They give the most bang for the space they take up on a ship. For example, the Stinger gives you 2 attack and takes up 18 units of space. For Lasers to give you 2 attack, you would need 2 of them, requiring space units of 10 each. The Rail Gun will take up 24 for 2 attack. It would just seem to make sense to go for that weapon type myself. With the amount of space you save, you can even add some defence down the line. At least earlier than you could with the other two types.
...at much greater cost per component, meaning that you'll have higher build times and increased maintainence. Missile based ships do tend to have higher attack ratings, but they cost a whole lot more to build. Mass drivers, on the other hand, are cheap even into the late techs... only special mass driver techs like the nano ripper and black hole generator buck the trend.
I don't know if the AI is doing this already, but it certainly would seem prudent to be basing their initial line of research, weapons wise, on the tech their opponents are pursuing. I try to research a kind of tech no one else is using, personally... it makes sure that defenses developed from OTHER wars don't kick the crap out of me.