President Barack Obama has praised General Motors and Chrysler for emerging from bankruptcy ''in record time'' in the past few weeks.