US president criticises oil companies for making record profits amid the Russia-Ukraine war, warns of higher tax.